:root{--bg:#f5f8fb;--surface:#fff;--text:#162033;--muted:#5d687a;--primary:#176b5b;--primary-hover:#105748;--border:#dce3eb;--warning:#a84f13;--danger:#a33c34;--success:#28745d;--shadow:0 22px 65px rgba(31,49,75,.11);--radius:18px;--container:1180px}*,:before,:after{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0;background:radial-gradient(circle at 85% 8%,rgba(23,107,91,.09),transparent 27rem),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid rgba(23,107,91,.3);outline-offset:3px}button,input{font:inherit}.skip-link{position:fixed;top:10px;left:10px;z-index:9999;padding:9px 13px;background:var(--text);color:#fff;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.app-container{width:min(calc(100% - 40px),var(--container));margin:auto}.narrow-container{max-width:820px}.app-header{position:relative;z-index:20;border-bottom:1px solid rgba(220,227,235,.9);background:rgba(245,248,251,.95)}.app-header__inner{display:flex;min-height:76px;align-items:center;gap:25px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:18px;font-weight:850;letter-spacing:-.02em;white-space:nowrap}.brand img{width:42px;height:42px}.brand small{padding:3px 7px;border-radius:999px;background:#e8eef4;color:var(--muted);font-size:10px;letter-spacing:.08em}.main-nav{display:flex;align-items:center;gap:7px;margin-left:auto}.main-nav a,.auth-nav>a:not(.button){padding:9px 11px;border-radius:9px;color:var(--muted);font-size:14px;font-weight:700}.main-nav a:hover,.main-nav a.is-active{background:#e8f1ee;color:var(--primary)}.auth-nav{display:flex;align-items:center;gap:15px;margin-left:auto}.nav-toggle{display:none;margin-left:auto;padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:#fff;font-weight:750}.logout-form{margin:0}.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:10px 18px;border:1px solid transparent;border-radius:10px;cursor:pointer;font-weight:780;text-align:center;transition:.16s}.button:hover{transform:translateY(-1px)}.button--primary{background:var(--primary);color:#fff;box-shadow:0 10px 28px rgba(23,107,91,.2)}.button--primary:hover{background:var(--primary-hover)}.button--secondary{border-color:var(--border);background:#fff;color:var(--text)}.button--danger{border-color:rgba(163,60,52,.18);background:#fff1ef;color:var(--danger)}.button--disabled{cursor:not-allowed;opacity:.55}.button--full{width:100%}.button--small{min-height:34px;padding:6px 10px;font-size:12px}.app-main{min-height:calc(100vh - 170px)}.app-section{padding:62px 0 85px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:35px;margin-bottom:30px}.page-heading h1,.auth-card h1,.status-panel h1,.content-card h1,.integration-card h1{margin:0;font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.045em}.page-heading p:last-child,.lead{max-width:720px;margin:13px 0 0;color:var(--muted);font-size:17px}.eyebrow{display:inline-flex;margin:0 0 14px;padding:6px 10px;border:1px solid rgba(23,107,91,.18);border-radius:999px;background:rgba(23,107,91,.08);color:var(--primary);font-size:12px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.stat-card,.content-card,.auth-card,.status-panel,.table-card,.error-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 14px 42px rgba(31,49,75,.065)}.stat-card{padding:23px}.stat-card span,.stat-card small{display:block;color:var(--muted)}.stat-card strong{display:block;margin:8px 0 4px;font-size:27px;letter-spacing:-.03em}.dashboard-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:20px;margin-top:20px}.content-card{padding:30px}.content-card--muted{background:#eef3f7}.content-card h2{margin:0;font-size:24px;letter-spacing:-.025em}.content-card p{color:var(--muted)}.data-list{margin:22px 0 0}.data-list div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--border)}.data-list dt{color:var(--muted)}.data-list dd{margin:0;font-weight:750;text-align:right}.auth-shell{display:flex;min-height:calc(100vh - 165px);align-items:center;justify-content:center;padding:55px 20px}.auth-card{width:min(100%,530px);padding:36px}.auth-card--wide{width:min(100%,820px)}.auth-card__brand{display:flex;align-items:center;gap:13px;margin-bottom:25px}.auth-card__brand strong,.auth-card__brand span{display:block}.auth-card__brand span{color:var(--muted);font-size:13px}.auth-card__links{display:flex;justify-content:space-between;gap:15px;margin-top:22px;color:var(--primary);font-size:14px;font-weight:700}.form-stack{display:grid;gap:17px;margin-top:26px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:26px}.field{display:grid;gap:7px}.field--full{grid-column:1/-1}.field>span{font-size:14px;font-weight:750}.field input{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text)}.field input:disabled{background:#eef2f5;color:var(--muted)}.field small{color:var(--muted);font-size:12px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:14px}.checkbox-field input{margin-top:5px}.checkbox-field a{color:var(--primary);text-decoration:underline}.honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.form-errors{margin:22px 0;padding:17px 19px;border:1px solid rgba(163,60,52,.25);border-radius:12px;background:#fff1ef;color:#7d302a}.form-errors ul{margin:7px 0 0;padding-left:20px}.flash-stack{display:grid;gap:10px;padding-top:18px}.flash{padding:13px 16px;border-radius:11px;border:1px solid var(--border);background:#fff}.flash--success{border-color:rgba(40,116,93,.25);background:#edf8f4;color:#1f604d}.flash--warning{border-color:rgba(168,79,19,.25);background:#fff1e7;color:#814016}.status-panel{text-align:center;padding:45px}.status-panel__icon{display:flex;width:72px;height:72px;align-items:center;justify-content:center;margin:0 auto 22px;border-radius:22px;background:#fff1e7;font-size:31px}.status-panel>p:not(.eyebrow){max-width:640px;margin:16px auto;color:var(--muted)}.status-list{display:grid;gap:0;max-width:580px;margin:28px auto;text-align:left}.status-list div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--border)}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.badge--success{background:#e7f5ef;color:var(--success)}.badge--warning{background:#fff1e7;color:var(--warning)}.badge--danger{background:#fff1ef;color:var(--danger)}.integration-card{text-align:center}.integration-card__icon{display:flex;width:70px;height:70px;align-items:center;justify-content:center;margin:0 auto 24px;border-radius:22px;background:var(--primary);color:#fff;font-size:31px;font-weight:900}.check-list{display:grid;gap:10px;max-width:460px;margin:25px auto;padding:0;list-style:none;text-align:left}.check-list li{position:relative;padding-left:28px;color:var(--muted)}.check-list li:before{position:absolute;left:0;color:var(--primary);content:"✓";font-weight:900}.table-card{overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:15px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}th{background:#eef3f7;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}td small{display:block;color:var(--muted)}.table-actions{display:flex;gap:7px}.table-actions form{margin:0}.admin-links{display:flex;gap:13px;color:var(--primary);font-weight:750}.diagnostic-list{display:grid}.diagnostic-list div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--border)}.text-success{color:var(--success)}.text-warning{color:var(--warning)}.muted{color:var(--muted)}.error-card{padding:55px;text-align:center}.error-code{margin:0;color:var(--primary);font-size:80px;font-weight:900;line-height:1}.error-card h1{margin:12px 0 0;font-size:40px}.error-card p:not(.error-code){color:var(--muted)}.app-footer{padding:25px 0;border-top:1px solid var(--border);background:#101827;color:rgba(255,255,255,.7);font-size:13px}.app-footer__inner{display:flex;justify-content:space-between;gap:25px}.app-footer p{margin:0}.app-footer a{color:#fff}.minimal-body{background:var(--bg)}.minimal-main{min-height:100vh}
@media(max-width:980px){.nav-toggle{display:inline-flex}.main-nav{position:absolute;top:calc(100% + 1px);right:20px;left:20px;display:none;align-items:stretch;flex-direction:column;padding:9px;border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.main-nav--open{display:flex}.logout-form{margin-left:auto}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-container{width:min(calc(100% - 28px),var(--container))}.auth-nav>a:not(.button){display:none}.auth-nav .button{min-height:40px;padding:8px 11px;font-size:12px}.brand span{font-size:16px}.page-heading,.app-footer__inner{align-items:flex-start;flex-direction:column}.dashboard-grid,.form-grid{grid-template-columns:1fr}.field--full{grid-column:auto}.stats-grid{grid-template-columns:1fr}.app-section{padding:42px 0 65px}.auth-card,.status-panel,.content-card{padding:24px}.page-heading h1,.auth-card h1,.status-panel h1,.content-card h1,.integration-card h1{font-size:36px}.auth-card__links{align-items:flex-start;flex-direction:column}.table-actions{align-items:flex-start;flex-direction:column}}

/* Strażnik Ofert DEV v0.2 */
.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.card-heading h2{margin:0}.card-heading a{color:var(--primary);font-weight:750}.content-card--spaced{margin-top:20px}.stat-card__small{font-size:18px!important;line-height:1.35}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.button-row form{margin:0}.button--danger-outline{border:1px solid rgba(163,60,52,.35);background:#fff;color:var(--danger)}.button--danger-outline:hover{background:#fff1ef}.badge--neutral{background:#edf1f4;color:#536070}.notice{padding:18px 20px;border:1px solid var(--border);border-radius:14px;background:#fff}.notice--warning{border-color:rgba(168,79,19,.25);background:#fff7ef;color:#6d3916}.notice p{margin:8px 0}.notice a{color:var(--primary);font-weight:750}.notice-inline{padding:10px 12px;border-radius:10px;background:#fff7ef;color:#6d3916}.scope-grid{display:flex;flex-wrap:wrap;gap:9px}.scope-grid code,.copy-field code{padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:#f6f8fa;font-size:12px;overflow-wrap:anywhere}.account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.account-card .data-list{margin-bottom:20px}.empty-state{padding:24px;text-align:center;color:var(--muted)}.empty-state h2{color:var(--text)}.activity-list{display:grid}.activity-list a{display:grid;gap:4px;padding:14px 0;border-bottom:1px solid var(--border);color:inherit}.activity-list a:last-child{border-bottom:0}.activity-list span,.activity-list small{color:var(--muted)}.account-list{display:grid}.account-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--border)}.account-row:last-child{border-bottom:0}.account-row strong,.account-row span,.account-row small{display:block}.account-row span,.account-row small{color:var(--muted)}.align-right{text-align:right}.filter-bar{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;align-items:end;gap:12px;margin:0 0 18px;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff}.filter-bar label:not(.checkbox-field){display:grid;gap:6px}.filter-bar label>span{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.filter-bar input,.filter-bar select{min-height:44px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:#fff}.checkbox-field--filter{align-items:center;min-height:44px}.table-row-link{cursor:pointer}.table-row-link:hover td{background:#f6faf9}.table-row-link a{color:inherit}.table-empty{padding:35px;text-align:center;color:var(--muted)}.pagination{display:flex;justify-content:center;gap:7px;margin-top:20px}.pagination a{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font-weight:750}.pagination a.is-active{border-color:var(--primary);background:var(--primary);color:#fff}.timeline{position:relative;display:grid;gap:0}.timeline-item{position:relative;display:grid;grid-template-columns:20px 1fr;gap:14px;padding:17px 0;border-bottom:1px solid var(--border)}.timeline-item:last-child{border-bottom:0}.timeline-dot{width:12px;height:12px;margin-top:5px;border:3px solid #d6ede7;border-radius:50%;background:var(--primary)}.timeline-item p{margin:7px 0;color:var(--muted)}.timeline-item small{color:var(--muted)}.tab-links{display:flex;gap:7px;padding:5px;border:1px solid var(--border);border-radius:11px;background:#fff}.tab-links a{padding:8px 11px;border-radius:8px;color:var(--muted);font-weight:750}.tab-links a.is-active{background:var(--primary);color:#fff}.alert-list{display:grid;gap:14px}.alert-card{display:grid;grid-template-columns:1fr auto;gap:20px;padding:22px;border:1px solid var(--border);border-left-width:5px;border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(31,49,75,.04)}.alert-card--critical{border-left-color:var(--danger)}.alert-card--warning{border-left-color:var(--warning)}.alert-card--info{border-left-color:var(--primary)}.alert-card.is-unread{box-shadow:0 12px 34px rgba(23,107,91,.12)}.alert-card h2{margin:8px 0 0;font-size:20px}.alert-card p{color:var(--muted)}.alert-card__actions{display:flex;align-items:flex-end;flex-direction:column;justify-content:flex-end;gap:8px}.alert-card__actions form{margin:0}.copy-field{display:flex;align-items:center;gap:10px}.copy-field code{flex:1}.stats-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr))}.mini-stat{padding:15px;border:1px solid var(--border);border-radius:12px;background:#f8fafb}.mini-stat strong,.mini-stat span{display:block}.mini-stat strong{font-size:24px}.mini-stat span{color:var(--muted);font-size:12px}.error-cell{max-width:320px;color:var(--danger);font-size:12px;overflow-wrap:anywhere}
@media(max-width:1040px){.filter-bar{grid-template-columns:1fr 1fr}.filter-bar>button{width:100%}.account-cards{grid-template-columns:1fr}.stats-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.filter-bar{grid-template-columns:1fr}.alert-card{grid-template-columns:1fr}.alert-card__actions{align-items:stretch;flex-direction:row;flex-wrap:wrap}.copy-field{align-items:stretch;flex-direction:column}.copy-field .button{width:100%}.tab-links{width:100%;overflow:auto}.page-heading .tab-links{margin-top:10px}.account-row{align-items:flex-start}.stats-grid--compact{grid-template-columns:1fr 1fr}}

.reference-id{display:block;margin-top:.3rem;font-size:.72rem;font-weight:400;color:var(--muted,#64748b);overflow-wrap:anywhere}

.offer-list-item{display:flex;align-items:center;gap:12px;min-width:280px}.offer-list-item__text{display:grid;gap:4px}.offer-list-item__text small{display:block;color:var(--muted)}.offer-thumbnail{width:64px;height:64px;flex:0 0 64px;border:1px solid var(--border);border-radius:10px;background:#f6f8fa;object-fit:contain}.offer-thumbnail--empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:800}.alert-filter-bar{display:flex;align-items:end;gap:12px;margin:0 0 18px;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff}.alert-filter-bar label{display:grid;flex:1;max-width:480px;gap:6px}.alert-filter-bar label>span{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.alert-filter-bar select{min-height:44px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:#fff}.error-page{margin:0;background:linear-gradient(145deg,#f3f7f8,#eaf3f1);color:var(--text)}.error-page__main{display:grid;min-height:100vh;place-items:center;padding:24px}.error-panel{width:min(680px,100%);padding:42px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(31,49,75,.12)}.error-panel--inside{margin:60px auto}.error-brand{display:inline-flex;align-items:center;gap:8px;margin-bottom:34px;color:var(--text);font-size:20px;font-weight:900}.error-brand small{padding:3px 6px;border-radius:6px;background:#dff2ec;color:var(--primary);font-size:10px}.error-code{display:block;margin-bottom:8px;color:var(--danger);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.error-panel h1{margin:0 0 12px;font-size:clamp(32px,6vw,52px)}.error-panel p{color:var(--muted);font-size:17px}.error-reference{margin-top:24px}.error-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.error-log-list{display:grid;gap:10px;margin-top:18px}.error-log-item{border:1px solid var(--border);border-radius:12px;background:#fbfcfd}.error-log-item summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;cursor:pointer}.error-log-item summary span{display:grid;gap:4px;min-width:0}.error-log-item summary strong{overflow-wrap:anywhere}.error-log-item summary small{color:var(--muted)}.error-log-item summary code{flex:0 0 auto}.error-details{display:grid;gap:12px;margin:0;padding:0 16px 16px}.error-details>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding-top:12px;border-top:1px solid var(--border)}.error-details dt{font-weight:800}.error-details dd{margin:0;min-width:0;overflow-wrap:anywhere}.error-details pre{max-height:360px;margin:0;padding:12px;border-radius:9px;background:#111827;color:#e5e7eb;overflow:auto;font-size:11px;white-space:pre-wrap}
@media(max-width:760px){.alert-filter-bar{align-items:stretch;flex-direction:column}.alert-filter-bar label{max-width:none}.alert-filter-bar .button{width:100%}.offer-thumbnail{width:52px;height:52px;flex-basis:52px}.error-panel{padding:28px}.error-log-item summary{align-items:flex-start;flex-direction:column}.error-details>div{grid-template-columns:1fr}}

/* Aktualizacja 005 */
.alert-offer-title { margin: 1rem 0 .35rem; color: var(--muted, #526078); }
.alert-change-text { margin: 0 0 1rem; font-weight: 750; color: var(--ink, #142037); }
.alert-filter-bar { align-items: end; }
.preference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.preference-item { border: 1px solid #dce4eb; border-radius: 12px; padding: .9rem 1rem; background: #fff; }
.stat-card--link { color: inherit; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.stat-card--link:hover, .stat-card--link:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,32,55,.10); border-color: #8dc8bb; }
.pagination-wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 1.25rem; }
.pagination { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.pagination__ellipsis { padding: .5rem .2rem; color: #718096; }
.pagination__wide { padding-inline: .8rem !important; }
.page-jump { display: flex; align-items: end; gap: .5rem; }
.page-jump label { display: grid; gap: .25rem; font-size: .82rem; color: #526078; }
.page-jump input { width: 7rem; min-height: 42px; border: 1px solid #cbd6df; border-radius: 10px; padding: .5rem .65rem; }
.changelog-list { display: grid; gap: 1rem; }
.changelog-entry > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.changelog-entry time { color: #66758b; font-size: .9rem; }
.changelog-entry h2 { margin: .85rem 0 .5rem; }
.changelog-entry ul { margin: 0; padding-left: 1.2rem; color: #526078; }
.changelog-entry li + li { margin-top: .35rem; }
@media (max-width: 760px) {
  .preference-grid { grid-template-columns: 1fr; }
  .pagination-wrap, .page-jump { align-items: stretch; }
  .page-jump { width: 100%; }
  .page-jump label { flex: 1; }
  .page-jump input { width: 100%; }
}

.page-actions,.bulk-bar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.alert-select{padding:.5rem}.alert-card{display:grid;grid-template-columns:auto 1fr}.alert-change-text{margin-top:.4rem}.muted{color:#667085}.sync-freshness{font-size:.85rem;color:#667085}


/* Aktualizacja 0.8: obrazy, czytelna paginacja i akcje zbiorcze */
.offer-thumbnail,
.change-thumbnail {
    display: block;
    max-width: 100%;
    background: #f6f8fa;
    object-fit: contain;
}

.change-thumbnail {
    width: 120px;
    height: 120px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.change-thumbnail--empty {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.image-change,
.alert-image-change {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 12px 0;
}

.image-change > div {
    display: grid;
    gap: 6px;
}

.image-change__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.image-change__arrow {
    color: var(--muted);
    font-size: 24px;
    font-weight: 900;
}

.pagination-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.pagination-summary {
    white-space: nowrap;
    color: var(--muted);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
}

.pagination a {
    width: auto;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    white-space: nowrap;
}

.pagination a.pagination__number {
    width: 40px;
    padding: 0;
}

.pagination a.pagination__wide {
    min-width: max-content;
    padding-inline: 14px !important;
}

.page-jump {
    display: flex;
    align-items: end;
    gap: 8px;
}

.page-jump label {
    display: grid;
    gap: 5px;
}

.page-jump label span {
    color: var(--muted);
    font-size: 12px;
}

.page-jump input {
    width: 110px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.bulk-bar {
    justify-content: space-between;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.bulk-bar--sticky {
    position: sticky;
    top: 10px;
    z-index: 10;
    margin-bottom: 14px;
    box-shadow: 0 10px 28px rgba(31, 49, 75, .08);
}

.bulk-bar--bottom {
    margin-top: 14px;
}

.bulk-select-actions,
.bulk-apply-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bulk-selection-count {
    color: var(--muted);
    font-weight: 750;
}

@media (max-width: 1100px) {
    .pagination-wrap {
        grid-template-columns: 1fr;
    }
    .pagination-summary,
    .page-jump {
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .pagination {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    .pagination a {
        flex: 0 0 auto;
    }
    .page-jump {
        width: 100%;
    }
    .page-jump label {
        flex: 1;
    }
    .page-jump input {
        width: 100%;
    }
    .bulk-bar,
    .bulk-select-actions,
    .bulk-apply-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Aktualizacja 010 — workery i miniatury zmian */
.alert-card {
    grid-template-columns: auto 76px minmax(0, 1fr);
    align-items: start;
}

.alert-offer-thumbnail,
.activity-item__thumbnail {
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #f6f8fa;
    color: var(--muted);
}

.alert-offer-thumbnail {
    width: 72px;
    height: 72px;
}

.alert-offer-thumbnail img,
.activity-item__thumbnail img,
.dashboard-image-change img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alert-card__main {
    min-width: 0;
}

.activity-list--with-images .activity-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.activity-item__thumbnail {
    width: 58px;
    height: 58px;
}

.activity-item__content {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.activity-item__content > strong,
.activity-item__content > span {
    overflow-wrap: anywhere;
}

.dashboard-image-change {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 4px;
}

.dashboard-image-change__item {
    display: grid;
    gap: 4px;
}

.dashboard-image-change__item small {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-image-change__item img,
.dashboard-image-change__empty {
    width: 54px;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f6f8fa;
}

.dashboard-image-change__empty {
    display: grid;
    place-items: center;
    font-size: 11px;
}

@media (max-width: 760px) {
    .alert-card {
        grid-template-columns: auto 58px minmax(0, 1fr);
        gap: 12px;
    }

    .alert-offer-thumbnail {
        width: 56px;
        height: 56px;
    }
}

/* Aktualizacja 011 — szczegółowy podgląd zdjęć i opisu */
.button--small {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
}

.change-preview-link {
    width: max-content;
    margin-top: 8px;
}

.alert-card__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.change-guide {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
    gap: 24px;
    margin-bottom: 22px;
}

.change-guide h2 {
    margin-bottom: 8px;
}

.change-legend {
    display: grid;
    gap: 9px;
}

.change-legend > span {
    display: grid;
    grid-template-columns: 18px auto;
    align-items: start;
    gap: 9px;
    color: var(--muted);
    line-height: 1.45;
}

.change-legend__swatch {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid var(--border);
    border-radius: 5px;
}

.change-legend__swatch--removed {
    border-color: #dc3545;
    background: #fff0f1;
}

.change-legend__swatch--added {
    border-color: #198754;
    background: #eefbf4;
}

.change-legend__swatch--moved {
    border-color: #e48a00;
    background: #fff7e8;
}

.change-legend__swatch--unchanged {
    background: #f4f6f8;
}

.change-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.change-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
    gap: 12px;
}

.change-image-card {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
}

.change-image-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
    background: #f6f8fa;
}

.change-image-card strong {
    font-size: 12px;
    text-align: center;
}

.change-image-card__number {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    min-width: 24px;
    height: 24px;
    padding-inline: 5px;
    place-items: center;
    border-radius: 999px;
    background: rgba(20, 28, 40, .84);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.change-image-card--removed {
    border-color: #dc3545;
    background: #fff0f1;
}

.change-image-card--added {
    border-color: #198754;
    background: #eefbf4;
}

.change-image-card--moved {
    border-color: #e48a00;
    background: #fff7e8;
}

.description-diff-list {
    display: grid;
    gap: 12px;
}

.description-diff-section {
    overflow: hidden;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.description-diff-section--removed {
    border-color: #dc3545;
    background: #fff0f1;
}

.description-diff-section--added {
    border-color: #198754;
    background: #eefbf4;
}

.description-diff-section__heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(80, 95, 115, .15);
    font-size: 12px;
}

.description-diff-section__heading span {
    color: var(--muted);
}

.description-diff-section__text {
    padding: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.description-diff-section__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 14px 14px;
}

.description-diff-section__images img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.activity-item .activity-item__content > strong a {
    color: inherit;
}

@media (max-width: 900px) {
    .change-guide,
    .change-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Aktualizacja 0.12 — monitoring, formularze, odczyt alertów i oferty 404 */
.badge--info{background:#e7f2f6;color:#176078}.content-card,.auth-card,.table-card,.app-main,.minimal-main{min-width:0}.inline-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.inline-form .field{flex:1 1 300px;min-width:0}.inline-form .button{flex:0 0 auto}.inline-form--mail{max-width:760px}.progress-meter{display:block;width:100%;height:9px;margin-top:7px;border:0;border-radius:999px;background:#e8eef2;overflow:hidden}.progress-meter::-webkit-progress-bar{background:#e8eef2;border-radius:999px}.progress-meter::-webkit-progress-value{background:var(--primary);border-radius:999px}.progress-meter::-moz-progress-bar{background:var(--primary);border-radius:999px}.sync-run-list{display:grid;gap:12px;margin-top:16px}.sync-run-row{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(260px,1.35fr);align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--border)}.sync-run-row:last-child{border-bottom:0}.sync-run-row strong,.sync-run-row small{display:block}.sync-run-row small{color:var(--muted)}.sync-run-progress{display:grid;gap:5px}.worker-list{display:grid;gap:0;margin-top:14px}.worker-list>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--border)}.worker-list>div:last-child{border-bottom:0}.worker-list span{color:var(--muted);text-align:right}.alert-badges{display:flex;flex-wrap:wrap;gap:7px}.alert-card.is-read{opacity:.82}.alert-card.is-unread{box-shadow:0 12px 34px rgba(23,107,91,.14)}.offer-removed-notice{margin-bottom:20px}.auth-card form,.auth-card input,.auth-card button{max-width:100%}.minimal-body{overflow-x:hidden}.minimal-main{width:100%}.admin-links{flex-wrap:wrap}.content-card code,.copy-field code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:760px){.inline-form,.inline-form .button{width:100%}.sync-run-row{grid-template-columns:1fr}.worker-list>div{align-items:flex-start;flex-direction:column}.auth-shell{padding-inline:14px}.auth-card{width:100%}}

/* Aktualizacja 0.13 — czytelna legenda i ludzkie opisy zmian */
.change-guide {
    grid-template-columns: minmax(260px, .75fr) minmax(420px, 1.25fr);
}
.change-legend > span {
    grid-template-columns: 18px minmax(0, 1fr);
    width: 100%;
}
.change-legend__text {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
.change-legend__text strong {
    display: inline;
    color: var(--text);
}
.human-change-comparison {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.human-change-comparison__values {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    min-width: 0;
}
.change-arrow {
    flex: 0 0 auto;
    color: var(--primary);
    font-weight: 800;
}
.marketplace-change-list {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.marketplace-change-row {
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
    gap: 12px;
    align-items: start;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fafb;
}
.marketplace-change-row__values {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
    color: var(--muted);
}
.alert-change-text--structured {
    margin-top: 10px;
}
.timeline-change-comparison {
    margin: 7px 0;
}
.dashboard-change-comparison {
    display: block;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .change-guide {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .marketplace-change-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}


/* 0.14 DEV — reguły użytkownika, grupy, historia, problemy i mobile */
.rule-table{display:grid;gap:8px}.rule-row{display:grid;grid-template-columns:minmax(240px,1.6fr) 90px 140px minmax(220px,1fr);gap:12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:12px}.rule-row--head{border:0;background:#eef3f7;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase}.threshold-fields{display:flex;gap:7px;flex-wrap:wrap}.threshold-fields input{min-width:100px;max-width:145px}.switch-field{display:flex;gap:7px;align-items:center}.history-list,.problem-list,.alert-group-list{display:grid;gap:14px;margin-top:20px}.history-card{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px}.history-thumb{width:64px;height:64px;object-fit:contain;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.problem-card--critical{border-left:5px solid var(--danger)}.problem-card--warning{border-left:5px solid var(--warning)}.problem-card--info{border-left:5px solid var(--primary)}.problem-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.problem-actions input{flex:1;min-width:220px}.tabs{display:flex;gap:8px}.tabs a{padding:9px 14px;border-radius:999px;background:#fff;border:1px solid var(--border);font-weight:700}.tabs a.is-active{background:var(--primary);color:#fff}.alert-group-card{border-left:5px solid var(--primary)}.alert-group-card--critical{border-left-color:var(--danger)}.alert-group-card--warning{border-left-color:var(--warning)}.grouped-offer-list{display:grid;gap:8px;padding-left:22px}.offer-rich-card{margin-bottom:20px}.offer-gallery{display:flex;gap:12px;overflow-x:auto;padding:10px 0}.offer-gallery img{width:130px;height:130px;object-fit:contain;border:1px solid var(--border);border-radius:12px;background:#f7f9fb}.offer-description{margin-top:18px}.offer-description summary{cursor:pointer;font-weight:800}.description-section{margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:10px}.description-section pre{white-space:pre-wrap;overflow-wrap:anywhere}.freshness{padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}.freshness--fresh{background:#e8f6ef;color:#176b5b}.freshness--stale{background:#fff4e8;color:#a84f13}.freshness--removed{background:#f2f3f5;color:#667085}.status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card--link:active{transform:scale(.99)}
@media(max-width:900px){.rule-row{grid-template-columns:1fr 90px 130px}.rule-row .threshold-fields{grid-column:1/-1}.rule-row--head{display:none}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.app-container{width:min(calc(100% - 24px),var(--container))}.app-section{padding:32px 0 60px}.content-card{padding:20px}.page-heading{display:grid;gap:16px}.page-heading h1{font-size:34px}.rule-row{grid-template-columns:1fr 1fr}.rule-row>strong{grid-column:1/-1}.threshold-fields{grid-column:1/-1}.filter-form,.form-grid{grid-template-columns:1fr!important}.problem-actions{display:grid}.history-card{grid-template-columns:52px minmax(0,1fr)}.history-thumb{width:48px;height:48px}.status-grid,.stats-grid{grid-template-columns:1fr 1fr}.app-footer__inner{align-items:flex-start;flex-direction:column}.button-row{width:100%}.button-row .button,.page-actions .button{flex:1}.table-scroll{margin-inline:-20px;padding-inline:20px}.alert-card{grid-template-columns:auto 48px minmax(0,1fr)}.alert-offer-thumbnail{width:46px;height:46px}}
.allegro-description{display:grid;gap:1rem;margin-top:1rem}.allegro-description-section{display:grid;gap:.85rem;padding:1rem;border:1px solid var(--border,#d9e2ec);border-radius:14px;background:#fff}.allegro-description-text{line-height:1.65;overflow-wrap:anywhere}.allegro-description-text p:first-child{margin-top:0}.allegro-description-image{display:block}.allegro-description-image img{display:block;max-width:100%;height:auto;border-radius:12px}.allegro-prices-card{border-left:4px solid #0f766e}

/* 0.17 — publiczna strona identyfikacji User-Agent */
.public-info-shell { width: min(960px, calc(100% - 32px)); margin: 40px auto; }
.public-info-card { width: 100%; max-width: none; }
.public-info-card h1 { margin-bottom: 18px; }
.public-info-section { margin-top: 18px; padding: 22px; }
.public-info-section h2 { margin-top: 0; }
.public-info-section ul { padding-left: 22px; line-height: 1.7; }
.public-user-agent { display: block; overflow-wrap: anywhere; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); font-size: .95rem; }
.public-info-note { margin-top: 22px; }
@media (max-width: 640px) {
  .public-info-shell { width: min(100% - 20px, 960px); margin: 16px auto; }
  .public-info-section { padding: 16px; }
}


/* 0.18 — użytkownicy organizacji i grupy alertów */
.grouped-offer-list{list-style:none;padding:0;margin:16px 0;display:grid;gap:10px}.grouped-offer-item{margin:0}.grouped-offer-item label{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--border,#dce3eb);border-radius:10px}.grouped-offer-thumb{flex:0 0 38px;width:38px;height:38px;object-fit:contain;border:1px solid #dce3eb;border-radius:8px;background:#fff}.grouped-offer-item strong{display:block;margin-top:4px}.two-column-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-bottom:20px}.stack-form{display:grid;gap:14px}.stack-form label{display:grid;gap:6px}@media(max-width:760px){.two-column-grid{grid-template-columns:1fr}.grouped-offer-item label{align-items:flex-start}.table-actions{min-width:220px}}

/* 1.01 — panel wielokanałowy */
.integration-source{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:4px 9px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:850;line-height:1.2;letter-spacing:.025em;white-space:nowrap}.integration-source--allegro{background:#fff1e8;border-color:#ffd0b4;color:#a84400}.integration-source--erli{background:#eef3ff;border-color:#cbd8ff;color:#294c9f}.integration-source--prestashop{background:#e9f8fb;border-color:#b9e8ef;color:#176a78}.integration-source--custom-rest{background:#f1ecff;border-color:#d8c9ff;color:#5b3fa0}.integration-source--other{background:#eef2f5;border-color:#d7dfe5;color:#465667}.integration-channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.integration-card{display:flex;flex-direction:column;gap:14px}.integration-card .button{margin-top:auto}.data-list--compact>div{padding-block:8px}.multichannel-filter-bar{grid-template-columns:minmax(230px,1.4fr) minmax(145px,.7fr) minmax(190px,1fr) minmax(135px,.6fr) auto auto}.table-card td small,.table-scroll td small{display:block;margin-top:5px;color:var(--muted)}.history-filter-bar{display:grid;grid-template-columns:minmax(145px,.7fr) minmax(190px,1fr) minmax(140px,.7fr) minmax(190px,1fr) minmax(135px,.65fr) minmax(135px,.65fr) auto auto;gap:10px;align-items:end;margin:18px 0 22px;padding:14px;border:1px solid var(--border);border-radius:14px;background:#fff}.history-filter-bar label{display:grid;gap:5px;min-width:0}.history-filter-bar label span{color:var(--muted);font-size:12px;font-weight:800}.history-filter-bar input,.history-filter-bar select{width:100%;min-width:0}.history-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:5px;color:var(--muted);font-size:12px}.verification-checks{display:grid;gap:10px;margin-top:16px}.verification-check{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid var(--border);border-radius:12px}.verification-check>span{display:grid;width:28px;height:28px;place-items:center;border-radius:999px;font-weight:900}.verification-check p{margin:4px 0 0;color:var(--muted)}.verification-check--passed>span{background:#e8f6ef;color:#176b5b}.verification-check--failed{border-color:#efc0c4;background:#fff7f7}.verification-check--failed>span{background:#f9dadd;color:#9b2833}.diagnostic-list>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--border)}.diagnostic-list>div:last-child{border-bottom:0}
@media(max-width:1180px){.integration-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.multichannel-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.history-filter-bar{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.integration-channel-grid,.multichannel-filter-bar,.history-filter-bar{grid-template-columns:1fr}.integration-source{white-space:normal;text-align:center}.history-filter-bar .button{width:100%}.diagnostic-list>div{align-items:flex-start;flex-direction:column}}

.detailed-change-list{margin-top:8px}.detailed-change-list .marketplace-change-row__values span:first-child,.detailed-change-list .marketplace-change-row__values span:last-child{overflow-wrap:anywhere;white-space:normal}.detailed-change-list>.muted{display:block;margin-top:6px}

.version-change-legacy{display:grid;gap:5px}.version-change-legacy>span{color:var(--muted);font-size:13px}.button[disabled]{cursor:wait;opacity:.72}

/* 1.15 DEV — nawigacja, pomoc, administracja i formularze */
.brand__text{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.brand__version{font-size:9px;line-height:1;font-weight:800;letter-spacing:.04em;color:var(--muted);text-transform:uppercase}.main-nav{display:flex;align-items:center;gap:4px;min-width:0}.nav-menu{position:relative}.nav-menu>summary{list-style:none;cursor:pointer;padding:10px 9px;border-radius:10px;font-weight:750;font-size:14px;white-space:nowrap}.nav-menu>summary::-webkit-details-marker{display:none}.nav-menu>summary::after{content:'⌄';margin-left:5px;color:var(--muted)}.nav-menu>summary:hover,.nav-menu>summary.is-active,.nav-menu[open]>summary{background:#e8f2ef;color:var(--primary)}.nav-menu__panel{position:absolute;z-index:1000;top:calc(100% + 8px);left:0;display:grid;min-width:230px;padding:8px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(24,39,55,.16)}.nav-menu__panel--right{right:0;left:auto}.nav-menu__panel a,.nav-menu__button{display:block;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:var(--text);font:inherit;font-weight:700;text-align:left;text-decoration:none}.nav-menu__panel a:hover,.nav-menu__button:hover{background:var(--surface-soft);color:var(--primary)}.nav-menu__panel form{margin:0}.nav-menu--user{margin-left:auto}
.help-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:18px 0 24px;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff}.help-search label{display:grid;gap:6px}.help-search label span{font-weight:800}.knowledge-grid,.admin-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.knowledge-card,.admin-hub-card{display:flex;flex-direction:column;align-items:flex-start}.knowledge-card p,.admin-hub-card p{flex:1}.knowledge-article{font-size:1.05rem;line-height:1.75}.knowledge-article h1{font-size:clamp(2rem,4vw,3.2rem)}.knowledge-article .lead{font-size:1.18rem;color:var(--muted)}.human-steps{display:grid;gap:12px;padding-left:24px}.help-feedback{margin-top:18px}.breadcrumbs{display:flex;gap:8px;margin-bottom:14px;color:var(--muted)}.simple-list{display:grid;gap:9px;padding-left:20px}.app-container--narrow{max-width:900px}
.alert-filter-bar{display:grid!important;grid-template-columns:repeat(5,minmax(145px,1fr));gap:12px!important;align-items:end}.alert-filter-bar label{min-width:0}.alert-filter-bar input,.alert-filter-bar select{width:100%;min-width:0}.alert-filter-bar .button{width:100%;justify-content:center}.admin-instruction{margin-bottom:18px;border-left:5px solid var(--primary)}
@media(max-width:1250px){.knowledge-grid,.admin-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.alert-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.main-nav{display:none}.main-nav.is-open{display:grid;position:absolute;top:100%;left:12px;right:12px;padding:12px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 44px rgba(24,39,55,.16)}.nav-menu__panel,.nav-menu__panel--right{position:static;box-shadow:none;margin-top:5px}.nav-menu--user{margin-left:0}.knowledge-grid,.admin-hub-grid{grid-template-columns:1fr 1fr}.alert-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.knowledge-grid,.admin-hub-grid,.alert-filter-bar,.help-search{grid-template-columns:1fr}.brand__version{display:none}}
.tutorial[hidden]{display:none}.tutorial{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px}.tutorial__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.56)}.tutorial__dialog{position:relative;z-index:1;width:min(560px,100%);padding:28px;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.28)}.tutorial__close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:28px;cursor:pointer}.tutorial__progress{margin:20px 0;color:var(--muted);font-weight:800}.tutorial__dialog p{line-height:1.65}

/* 1.18-1.22: szybkie i czytelne problemy */
.problem-filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px;align-items:end;margin-top:18px}.problem-filters label{display:grid;gap:7px;font-size:12px;font-weight:800;text-transform:uppercase;color:var(--muted)}.problem-filter-actions{display:flex;gap:8px;align-items:end}.problem-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.problem-title-row h2{margin:0}.problem-details{display:grid;gap:8px;margin-top:15px}.problem-details p{margin:0;line-height:1.55}.results-count{margin:14px 2px 0;color:var(--muted)}
@media(max-width:1150px){.problem-filters{grid-template-columns:repeat(3,minmax(170px,1fr))}}@media(max-width:760px){.problem-filters{grid-template-columns:1fr 1fr}.problem-filter-actions{grid-column:1/-1}}@media(max-width:520px){.problem-filters{grid-template-columns:1fr}.problem-filter-actions{grid-column:auto}.problem-actions>*{width:100%}.problem-actions input{min-width:0}}

.button.is-disabled{opacity:.55;cursor:not-allowed;pointer-events:none}

.signature-value{display:inline-flex;align-items:center;gap:7px;max-width:100%}.copy-icon-button{display:inline-grid;width:30px;height:30px;place-items:center;padding:0;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit;font-weight:900;cursor:pointer}.copy-icon-button:hover,.copy-icon-button:focus-visible{border-color:var(--primary);color:var(--primary)}.copy-toast{position:fixed;z-index:100000;top:18px;left:50%;max-width:min(92vw,520px);padding:11px 16px;border-radius:12px;background:#173f35;color:#fff;font-weight:800;box-shadow:0 12px 35px rgba(0,0,0,.2);opacity:0;transform:translate(-50%,-12px);transition:opacity .2s ease,transform .2s ease}.copy-toast--visible{opacity:1;transform:translate(-50%,0)}


/* 1.28 DEV — opisy kolumnowe i gotowość do publikacji */
.allegro-description-section{display:block;margin:18px 0}.allegro-description-section--columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.allegro-description-column{min-width:0}.allegro-description-column .allegro-description-image{display:block}.allegro-description-column .allegro-description-image img{display:block;width:100%;height:auto;object-fit:contain}.allegro-description-column .allegro-description-text>:first-child{margin-top:0}.allegro-description-column .allegro-description-text>:last-child{margin-bottom:0}.readiness-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;border-left:6px solid var(--border)}.readiness-summary h2{margin:2px 0 8px}.readiness-summary p{margin-bottom:0}.readiness-summary--ready{border-left-color:#1f8a70;background:#f3fbf7}.readiness-summary--blocked{border-left-color:#b8323f;background:#fff7f7}.offer-diagnostics-card code{overflow-wrap:anywhere}
@media(max-width:760px){.allegro-description-section--columns{grid-template-columns:1fr}.readiness-summary{align-items:flex-start;flex-direction:column}}

/* 1.29 DEV — diagnostyka z opisem i działaniami */
.diagnostic-list--detailed .diagnostic-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:15px 0;border-bottom:1px solid var(--border)}.diagnostic-list--detailed .diagnostic-row:last-child{border-bottom:0}.diagnostic-row__content{display:grid;gap:4px}.diagnostic-row__content small{color:var(--muted);font-size:13px;line-height:1.45}.diagnostic-row__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.diagnostic-row--attention{margin-inline:-12px;padding-inline:12px;border-radius:12px;background:#fffaf4}.diagnostic-row--passed .diagnostic-row__content small{color:#587267}@media(max-width:760px){.diagnostic-list--detailed .diagnostic-row{grid-template-columns:1fr}.diagnostic-row__actions{justify-content:flex-start;flex-wrap:wrap}}


/* v1.30: czytelne porównania, pomoc administratora i AJAX alertów */
.category-change-comparison__values{display:grid;gap:.45rem;margin-top:.45rem}.category-change-comparison__values>div{display:grid;gap:.15rem;padding:.65rem .8rem;border:1px solid #d7e1e8;border-radius:.65rem;background:#f8fafc}.category-change-comparison__values small{font-weight:700;color:#64748b}.category-change-comparison__arrow{text-align:center;font-weight:800;color:#176b5b}.admin-guide{margin:0 0 1.25rem;border:1px solid #cddbe3;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.admin-guide>summary{cursor:pointer;padding:1rem 1.15rem;font-weight:800;display:flex;align-items:center;gap:.55rem}.admin-guide__content{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.8rem;padding:0 1.15rem 1.15rem}.admin-guide__content section{padding:.8rem;border-radius:10px;background:#f6f9fb}.admin-guide__content h3{font-size:1rem;margin:0 0 .35rem}.admin-guide__content p{margin:0 0 .4rem}.admin-guide__content small{display:block;color:#526273}.admin-help-icon{display:inline-grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:999px;background:#e5f4f1;color:#176b5b;font-weight:900;cursor:help;flex:none}.worker-row--muted{opacity:.72}.worker-row td small{display:block;margin-top:.25rem;color:#64748b}.alert-resolve-link{border:0;background:transparent;padding:.25rem 0;color:#176b5b;text-decoration:underline;cursor:pointer;font:inherit}.alert-resolve-link:disabled,[data-alert-resolve]:disabled{opacity:.6;cursor:wait}.alert-card,.grouped-offer-item{transition:opacity .2s ease,transform .2s ease,max-height .25s ease}.is-removing{opacity:0;transform:translateX(12px)}.app-toast--error{background:#8f2f2f}.app-toast--success{background:#176b5b}

/* v1.32 - raportowy panel użytkownika */
.dashboard-home__heading{margin-bottom:22px}.dashboard-home__heading h1{font-size:clamp(36px,5vw,54px)}.dashboard-health{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:18px;padding:22px 24px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 14px 42px rgba(31,49,75,.06)}.dashboard-health--success{border-color:rgba(40,116,93,.28);background:linear-gradient(135deg,#f3fbf8,#fff)}.dashboard-health--warning{border-color:rgba(168,79,19,.28);background:linear-gradient(135deg,#fff8f1,#fff)}.dashboard-health__icon{display:flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:15px;background:#e7f5ef;color:var(--success);font-size:24px;font-weight:900}.dashboard-health--warning .dashboard-health__icon{background:#fff0e5;color:var(--warning)}.dashboard-health__label,.dashboard-card-kicker{margin:0 0 3px!important;color:var(--muted)!important;font-size:11px!important;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.dashboard-health h2{margin:0;font-size:24px}.dashboard-health p{margin:4px 0 0;color:var(--muted)}.dashboard-health__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.dashboard-health__actions a{padding:8px 11px;border:1px solid rgba(23,107,91,.18);border-radius:9px;background:#fff;color:var(--primary);font-size:13px;font-weight:800}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-kpi{padding:20px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(31,49,75,.045);transition:.16s}.dashboard-kpi:hover{border-color:rgba(23,107,91,.3);transform:translateY(-2px)}.dashboard-kpi span,.dashboard-kpi small{display:block;color:var(--muted)}.dashboard-kpi strong{display:block;margin:6px 0 2px;font-size:30px;line-height:1.1;letter-spacing:-.04em}.dashboard-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.dashboard-summary-card{min-height:260px}.dashboard-event-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-event-summary a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#f8fafb}.dashboard-event-summary a:last-child{grid-column:1/-1}.dashboard-event-summary span{color:var(--muted);font-size:14px}.dashboard-event-summary strong{font-size:22px}.dashboard-good-state{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid rgba(40,116,93,.2);border-radius:14px;background:#f1faf6}.dashboard-good-state>span{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#dff3ea;color:var(--success);font-weight:900}.dashboard-good-state strong{display:block}.dashboard-good-state p{margin:2px 0 0}.dashboard-attention-list{display:grid}.dashboard-attention-list a{display:grid;grid-template-columns:10px minmax(0,1fr);align-items:start;gap:11px;padding:12px 0;border-bottom:1px solid var(--border)}.dashboard-attention-list a:last-child{border-bottom:0}.dashboard-attention-list strong,.dashboard-attention-list small{display:block}.dashboard-attention-list small{margin-top:2px;color:var(--muted)}.dashboard-attention-dot{width:9px;height:9px;margin-top:7px;border-radius:50%;background:var(--warning)}.dashboard-attention-dot--critical{background:var(--danger)}.dashboard-attention-dot--info{background:var(--primary)}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;margin-top:18px}.dashboard-change-list{display:grid}.dashboard-change-item{display:grid;grid-template-columns:54px minmax(0,1fr);gap:13px;padding:15px 0;border-bottom:1px solid var(--border)}.dashboard-change-item:last-child{border-bottom:0}.dashboard-change-item__image{display:flex;width:52px;height:52px;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:#f4f7f9;color:var(--muted)}.dashboard-change-item__image img{width:100%;height:100%;object-fit:contain}.dashboard-change-item__title{display:block;font-weight:800;line-height:1.35}.dashboard-change-item__comparison{margin:5px 0;font-size:14px}.dashboard-change-item__body small{color:var(--muted)}.dashboard-account-list{display:grid}.dashboard-account-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--border)}.dashboard-account-row:last-child{border-bottom:0}.dashboard-account-row__name strong,.dashboard-account-row__name small{display:block}.dashboard-account-row__name small{margin-top:2px;color:var(--muted);font-size:11px}.dashboard-account-row__status{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850;text-transform:uppercase;white-space:nowrap}.dashboard-account-row__status--success{background:#e7f5ef;color:var(--success)}.dashboard-account-row__status--warning{background:#fff1e7;color:var(--warning)}.dashboard-sync-details{padding:0;overflow:hidden}.dashboard-sync-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 28px;cursor:pointer;list-style:none}.dashboard-sync-details summary::-webkit-details-marker{display:none}.dashboard-sync-details summary strong,.dashboard-sync-details summary small{display:block}.dashboard-sync-details summary small{color:var(--muted);font-weight:400}.dashboard-sync-details[open] summary{border-bottom:1px solid var(--border)}.empty-state--compact{padding:16px 0;text-align:left}
@media(max-width:980px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-integrations-card{order:-1}}
@media(max-width:760px){.dashboard-health{grid-template-columns:44px minmax(0,1fr)}.dashboard-health__actions{grid-column:1/-1;justify-content:flex-start}.dashboard-summary-grid{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-summary-card{min-height:auto}.dashboard-account-row{grid-template-columns:auto minmax(0,1fr)}.dashboard-account-row__status{grid-column:2}.dashboard-sync-details summary{padding:18px 20px}}
@media(max-width:480px){.dashboard-kpis{grid-template-columns:1fr}.dashboard-event-summary{grid-template-columns:1fr}.dashboard-event-summary a:last-child{grid-column:auto}.dashboard-health{padding:18px}.dashboard-change-item{grid-template-columns:46px minmax(0,1fr)}.dashboard-change-item__image{width:44px;height:44px}}

/* 1.33 DEV — uproszczone powiadomienia i klikalna historia */
.settings-guide__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-guide__steps p{margin:0;padding:14px;border-radius:12px;background:#f5f8fa;color:var(--muted)}.notification-source-table{display:grid;gap:8px}.notification-source-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer}.notification-source-row>span{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notification-source-row small{display:block;width:100%;color:var(--muted)}.notification-source-row input{width:20px;height:20px;flex:0 0 auto}.notification-source-row--all{background:#f2f8f6;border-color:#bcd8d0}.alert-instructions{margin-bottom:16px}.alert-instructions h2{margin-bottom:7px}.history-card--clickable{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.history-card--clickable:hover,.history-card--clickable:focus-visible{border-color:#8cbeb2;box-shadow:0 12px 30px rgba(23,107,91,.10);transform:translateY(-1px);outline:0}.history-card__meta a.integration-source{text-decoration:none}.history-card .eyebrow a{color:inherit;text-decoration:none}.history-card .eyebrow a:hover{text-decoration:underline}
@media(max-width:760px){.settings-guide__steps{grid-template-columns:1fr}.notification-source-row>span{align-items:flex-start}}
.dashboard-home .dashboard-summary-grid{grid-template-columns:1fr}

/* 1.34 DEV — klikalne pozycje raportu dziennego */


/* 1.35 DEV — integracje, macierz powiadomień i czytelne porównania */
.integration-card .button+.button{margin-left:.45rem}.integration-request-card{border-style:dashed;background:#fbfdfc}
.notification-matrix-scroll{overflow:auto;max-width:100%}.notification-matrix{min-width:1450px;border-collapse:separate;border-spacing:0}.notification-matrix th,.notification-matrix td{padding:.65rem;border-bottom:1px solid var(--border);text-align:center;vertical-align:middle}.notification-matrix thead th{position:sticky;top:0;background:#f7faf9;z-index:2;max-width:120px}.notification-matrix thead th:first-child,.notification-matrix tbody th{position:sticky;left:0;background:#fff;text-align:left;z-index:3;min-width:220px}.notification-matrix thead th:first-child{z-index:4;background:#f7faf9}.notification-matrix thead label{display:grid;justify-items:center;gap:.35rem;font-size:.75rem;line-height:1.15}.notification-matrix input{width:19px;height:19px}.matrix-checkbox{display:grid;place-items:center;min-height:32px;cursor:pointer}.notification-account-label{display:grid;gap:.35rem}.notification-account-label label{font-size:.75rem;color:var(--muted);font-weight:400}.notification-matrix-summary{margin:.9rem 0 0;color:var(--muted);font-weight:700}
.change-value-boxes{display:flex;align-items:stretch;gap:.55rem;margin-top:.45rem}.change-value-box{display:grid;gap:.2rem;flex:1;min-width:0;padding:.7rem .8rem;border:1px solid #d7e1e8;border-radius:.7rem;background:#f8fafc}.change-value-box small{font-weight:800;color:#64748b}.change-value-box span{overflow-wrap:anywhere}.human-change-comparison--stacked .change-value-boxes{display:grid}.human-change-comparison--stacked .change-arrow{text-align:center}.human-change-comparison--inline .change-arrow{align-self:center}.marketplace-change-row__values--stacked{display:grid!important;gap:.4rem!important}.marketplace-change-row__values--stacked .change-arrow{text-align:center}.change-value-mini-box{padding:.45rem .6rem;border:1px solid #d7e1e8;border-radius:.55rem;background:#f8fafc;overflow-wrap:anywhere}
.image-change-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.75rem;align-items:start}.image-change-column{min-width:0}.image-change-column>small{display:block;font-weight:800;color:#64748b;margin-bottom:.4rem}.image-change-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:.45rem}.image-change-gallery figure{margin:0;border:1px solid #d7e1e8;border-radius:.65rem;overflow:hidden;background:#fff}.image-change-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f8fafc}.image-change-gallery figcaption{padding:.25rem;text-align:center;font-size:.72rem;font-weight:700}.image-change-arrow{align-self:center}.image-change-summary{grid-column:1/-1;margin:.2rem 0 0}
@media(max-width:800px){.settings-guide__steps{grid-template-columns:1fr}.image-change-comparison{grid-template-columns:1fr}.image-change-arrow{text-align:center;transform:rotate(90deg)}.change-value-boxes{display:grid}.change-arrow{text-align:center}}

/* v1.36 */
.integration-card__actions{display:grid;gap:.75rem;margin-top:auto}.integration-card__actions .button{width:100%;margin:0}.integration-card .button{margin-top:0}.integration-card .button+.button{margin-left:0}.rule-table--without-global .rule-row{grid-template-columns:minmax(240px,1.4fr) minmax(170px,.7fr) minmax(250px,1fr)}.alert-card[data-card-href]{cursor:pointer}.alert-card[data-card-href]:hover{border-color:#b8d6cf;box-shadow:0 16px 38px rgba(23,107,91,.11)}.alert-card h2 a,.alert-card .muted a,.alert-group-card h2 a{color:inherit}.alert-card h2 a:hover,.alert-card .muted a:hover,.alert-group-card h2 a:hover{text-decoration:underline}.alert-badges a.integration-source:hover{filter:brightness(.96);box-shadow:0 0 0 2px rgba(23,107,91,.12)}
@media(max-width:680px){.rule-table--without-global .rule-row{grid-template-columns:1fr}.rule-table--without-global .rule-row>strong{grid-column:auto}.rule-table--without-global .threshold-fields{grid-column:auto}}

/* v1.37 */
.auth-card--invitation{width:min(100%,620px)}.password-help{margin:0;color:var(--muted);font-size:12px}.notification-account-sections{display:grid;gap:12px}.notification-account{border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden}.notification-account>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}.notification-account>summary::-webkit-details-marker{display:none}.notification-account>summary>span:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.notification-account__count{color:var(--muted);font-size:13px;font-weight:750}.notification-account__body{padding:0 20px 20px;border-top:1px solid var(--border)}.notification-account__toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0}.notification-rule-list{display:grid;gap:8px}.notification-rule-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 14px;border-radius:10px;background:#f7faf9;cursor:pointer}.notification-rule-row input{width:20px;height:20px}.styled-select{width:100%;min-height:46px;padding:10px 40px 10px 13px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);font:inherit;appearance:auto}.styled-select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(23,107,91,.12);outline:0}@media(max-width:680px){.notification-account>summary{align-items:flex-start;flex-direction:column}.notification-account__toolbar .button{width:100%}.notification-rule-row{align-items:start}.auth-card--invitation{padding:24px}}

/* v1.39: spójna kolejność akcji w kartach integracji */
.integration-card__actions{margin-top:auto}
.integration-card__actions .integration-card__primary-action{order:2}

/* v1.40: szybkie synchronizacje i porządki strony integracji */
.button--warning{background:#d98a17;border-color:#d98a17;color:#fff}.button--warning:hover{background:#bc7310;border-color:#bc7310;color:#fff}
.integration-sync-progress{display:grid;gap:5px;margin-top:8px;min-width:180px}.integration-sync-progress progress{width:100%;height:8px;accent-color:var(--primary)}
.destructive-reset-card{border-color:#e8b4b4;background:#fffafa}.destructive-reset-card .form-stack{max-width:620px}


/* v1.45: równy formularz połączenia PrestaShop */
.prestashop-connection-form{align-items:start}.prestashop-connection-form .field{grid-template-rows:auto 48px minmax(40px,auto);align-content:start}.prestashop-connection-form .field input{min-width:0}.prestashop-connection-form .field small{line-height:1.45}
@media(max-width:760px){.prestashop-connection-form .field{grid-template-rows:auto 48px auto}}

/* v1.47 */
.integration-add-grid{margin-top:32px}.maintenance-banner{position:sticky;top:0;z-index:1200;padding:10px 16px;background:#fff1c7;border-bottom:1px solid #e0a531;color:#704400;text-align:center;font-weight:800}.maintenance-page{max-width:720px;margin:70px auto;padding:36px;text-align:center}.alert-group-card.is-removing{opacity:0;transform:translateY(-6px);transition:.22s}.dashboard-health--info{border-color:#b9dce8;background:#f2fbfe}.dashboard-health--info .dashboard-health__icon{background:#dff3f8;color:#176b7d}@media(max-width:900px){.integration-add-grid{margin-top:22px}.main-nav>a{display:block!important}}

/* v1.50 DEV — centrum administracyjne */
.admin-section-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 22px;padding:7px;border:1px solid var(--border);border-radius:14px;background:#f7faf9}.admin-section-nav a{padding:9px 13px;border-radius:9px;color:var(--muted);font-weight:800;text-decoration:none}.admin-section-nav a:hover,.admin-section-nav a.is-active{background:#fff;color:var(--primary);box-shadow:0 1px 4px rgba(15,23,42,.08)}
.admin-health{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:20px 22px;border:1px solid var(--border);border-radius:16px}.admin-health strong{font-size:18px}.admin-health p{margin:4px 0 0;color:var(--muted)}.admin-health--ok{background:#f1faf6;border-color:#b9ddcd}.admin-health--warning{background:#fff9e8;border-color:#e7cf84}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.admin-kpi-grid article{display:grid;gap:5px;padding:17px;border:1px solid var(--border);border-radius:14px;background:#fff}.admin-kpi-grid span,.admin-kpi-grid small{color:var(--muted)}.admin-kpi-grid strong{font-size:25px;line-height:1}.admin-kpi-grid--compact strong{font-size:20px}
.admin-center-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);gap:16px}.admin-event-list{display:grid}.admin-event-list>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);color:inherit;text-decoration:none}.admin-event-list>a:last-child{border-bottom:0}.admin-event-list small{display:block;margin-top:3px;color:var(--muted)}.admin-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.admin-action-grid>a{display:grid;gap:3px;padding:13px;border:1px solid var(--border);border-radius:11px;color:inherit;text-decoration:none}.admin-action-grid>a:hover{border-color:#9acabd;background:#f7fbfa}.admin-action-grid small{color:var(--muted)}
.admin-event-filters{align-items:end}.admin-event-filters label{min-width:130px}.admin-events-table td{vertical-align:top;min-width:120px}.admin-events-table td:nth-child(3){min-width:360px;max-width:580px}.admin-events-table td:nth-child(4){min-width:260px;max-width:420px}.admin-events-table small{display:block;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}.admin-diagnosis{padding:7px 9px;border-radius:8px;background:#f7faf9}.event-details{margin-top:8px}.event-details summary{cursor:pointer;font-weight:800;color:var(--primary)}.event-details pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border-radius:8px;background:#101827;color:#e7eef8;font-size:11px}.event-details>b{display:block;margin:9px 0 4px}
.compact-list{display:grid;gap:0}.compact-list>div{display:grid;gap:3px;padding:11px 0;border-bottom:1px solid var(--border)}.compact-list>div:last-child{border-bottom:0}.compact-list span{color:var(--muted)}
.admin-row-actions{position:relative}.admin-row-actions summary{cursor:pointer;font-weight:800;color:var(--primary)}.admin-row-actions__panel{display:grid;gap:6px;min-width:215px;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:10px;background:#fff}.admin-row-actions__panel form,.admin-row-actions__panel .button{width:100%}
@media(max-width:980px){.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-center-grid{grid-template-columns:1fr}}
@media(max-width:680px){.admin-section-nav{display:grid;grid-template-columns:1fr 1fr}.admin-health{align-items:flex-start;flex-direction:column}.admin-health .button{width:100%}.admin-kpi-grid{grid-template-columns:1fr 1fr}.admin-action-grid{grid-template-columns:1fr}.admin-events-table td:nth-child(3),.admin-events-table td:nth-child(4){min-width:280px}.admin-event-filters{display:grid;grid-template-columns:1fr}.admin-event-filters label,.admin-event-filters .button{width:100%}}
@media(max-width:430px){.admin-kpi-grid{grid-template-columns:1fr}.admin-section-nav{grid-template-columns:1fr}}

/* v1.51 — dokumenty prawne i profil */
.legal-container{max-width:980px}.legal-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.legal-nav a{display:inline-flex;padding:9px 13px;border:1px solid var(--border,#d9e2df);border-radius:10px;background:#fff;text-decoration:none}.legal-document{line-height:1.65}.legal-document h2{margin-top:28px}.legal-document ul{padding-left:22px}.legal-contact{margin-top:22px}.legal-acceptance-shell{max-width:760px;margin:0 auto}.legal-acceptance-card{max-width:760px}.danger-zone{margin-top:28px;border-color:#e8b5b5}.danger-form{max-width:560px}.inline-form{display:inline-block;margin-left:10px}.compact-list{padding-left:20px}.account-deletion-banner a{color:inherit;font-weight:700}.field small{display:block;margin-top:5px;color:var(--muted,#64748b)}

/* v1.56 DEV — wykresy ceny i stanu oraz filtrowanie historii oferty */
.offer-metrics-grid{display:grid;grid-template-columns:1fr;gap:18px}.offer-metric-card{min-width:0}.offer-metric-card .card-heading{align-items:flex-start}.offer-metric-card .card-heading p{margin:.35rem 0 0}.metric-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.metric-stat-grid>div{display:grid;gap:5px;padding:12px;border:1px solid var(--border);border-radius:11px;background:#f8faf9}.metric-stat-grid span{color:var(--muted);font-size:12px;font-weight:750}.metric-stat-grid strong{font-size:16px;overflow-wrap:anywhere}.metric-chart-shell{min-height:300px;border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden}.metric-chart{display:block;width:100%;height:auto;min-height:280px}.metric-chart__grid line{stroke:#e4ebe8;stroke-width:1}.metric-chart__axis-labels text,.metric-chart__date-label{fill:#64748b;font-size:11px}.metric-chart__line{stroke:var(--primary);stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.metric-chart__hitbox{fill:transparent;pointer-events:all}.metric-chart__hover[hidden]{display:none}.metric-chart__hover{pointer-events:none}.metric-chart__hover-line{stroke:#94a3b8;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.metric-chart__hover-point{fill:#fff;stroke:var(--primary);stroke-width:3;vector-effect:non-scaling-stroke}.metric-chart__tooltip-box{fill:#0f172a;opacity:.95}.metric-chart__tooltip-date,.metric-chart__tooltip-value{fill:#fff;font-size:12px}.metric-chart__tooltip-value{font-weight:800}.metric-chart-empty{display:flex;align-items:center;justify-content:center;min-height:298px;margin:0;padding:20px;text-align:center}.offer-history-filter{display:grid;grid-template-columns:minmax(260px,420px) auto minmax(250px,1fr);align-items:end;gap:12px;margin:18px 0 24px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#f8faf9}.offer-history-filter .field{margin:0}.offer-history-filter .button-row{justify-content:flex-start}.offer-history-chart-toggle{justify-self:end;align-self:center;margin:0}
@media(max-width:1050px){.metric-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.metric-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-history-filter{grid-template-columns:1fr}.offer-history-filter .button-row{display:grid;grid-template-columns:1fr}.offer-history-filter .button{width:100%}.offer-history-chart-toggle{justify-self:start}.metric-chart-shell{overflow-x:auto}.metric-chart{min-width:680px}}

/* v1.57 DEV — mobilne alerty bez akcji zbiorczych */
@media(max-width:680px){
    [data-alert-bulk-form] .bulk-bar,
    [data-alert-bulk-form] .alert-select,
    [data-alert-bulk-form] [data-alert-checkbox]{display:none!important}
    [data-alert-bulk-form] .alert-card{grid-template-columns:48px minmax(0,1fr)}
}



@media(max-width:680px){
    .alert-group-card [data-alert-group-resolve]{width:100%;margin-top:.55rem}
}

/* v1.59 DEV — automatyczny odczyt alertów i spójne filtry dat */
.alert-filter-bar input[type="date"]{min-height:44px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font:inherit}
.alert-filter-bar input[type="date"]:focus{outline:2px solid rgba(23,107,91,.18);outline-offset:1px;border-color:var(--primary)}

/* v1.60 DEV — dodatkowe wykresy oferty */
.offer-extra-chart>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px}.offer-extra-chart[open]>summary{margin-bottom:16px}.offer-extra-chart .offer-metric-card{padding-top:4px}

/* zachowano ręczną poprawkę UI ustawień alertów */
.notification-rule-note{display:block;margin-top:4px}

.integration-delete-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border-radius:10px;cursor:pointer;list-style:none;white-space:nowrap;font-weight:800}.integration-delete-toggle::-webkit-details-marker{display:none}.integration-delete-toggle::marker{content:""}.integration-delete-toggle+form{margin-top:12px}.integration-delete-toggle:focus-visible{outline:3px solid rgba(163,60,52,.2);outline-offset:2px}@media(max-width:760px){.integration-delete-toggle{width:100%}}

/* 1.67 DEV */
.integration-actions-cell{min-width:560px}.integration-actions-cell .table-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}.integration-delete-details{flex:1 0 100%;width:100%}.integration-delete-details>summary{width:max-content}.integration-delete-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px) auto;align-items:end;gap:14px;width:100%;margin-top:12px;padding:16px;border:1px solid rgba(163,60,52,.24);border-radius:12px;background:#fff7f6}.integration-delete-panel p{grid-column:1/-1;margin:0}.integration-delete-panel label{display:grid;gap:6px;margin:0}.integration-delete-panel input{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:#fff}
@media(max-width:760px){.integration-actions-cell{min-width:0}.integration-delete-panel{grid-template-columns:1fr}.integration-delete-panel p{grid-column:auto}.integration-delete-panel .button{width:100%}}


/* 1.68 DEV — stała nawigacja mobilna i szczegółowy audyt pojemności */
@media(max-width:980px){
    .app-header{position:sticky;top:0;z-index:1200;background:rgba(245,248,251,.97);backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px)}
}
.storage-audit-table{min-width:1320px}.storage-audit-table td,.storage-audit-table th{white-space:nowrap}.storage-audit-table td:first-child{white-space:normal;min-width:210px}.storage-audit-note{margin:14px 2px 0}

.billing-trial-form{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.billing-trial-days{width:76px;min-width:76px}

/* 1.70 — Web Push w ustawieniach powiadomień */
.push-device-card .card-heading{align-items:flex-start;gap:16px}
.push-device-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.push-device-actions .muted{margin-left:4px}
.push-ios-note{margin-top:12px}
.notification-rule-table{display:grid;gap:0;border:1px solid var(--border,#d9e1e8);border-radius:12px;overflow:hidden}
.notification-rule-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px 100px;align-items:center;gap:14px;padding:11px 14px;border-top:1px solid var(--border,#d9e1e8);background:#fff}
.notification-rule-row:first-child{border-top:0}
.notification-rule-row--head{font-size:.78rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64748b;background:#f5f8fa}
.notification-rule-note{display:block;margin-top:4px}
.compact-switch{display:inline-flex;align-items:center;gap:7px;font-size:.88rem;font-weight:700;color:#334155;white-space:nowrap}
.compact-switch input{width:18px;height:18px;margin:0;accent-color:#176b5b}
.compact-switch input:disabled+span{opacity:.45}
@media (max-width:720px){
  .notification-rule-row{grid-template-columns:minmax(0,1fr) 64px 64px 64px;gap:8px;padding:10px}
  .notification-rule-row--head span:nth-child(2),.notification-rule-row--head span:nth-child(3),.notification-rule-row--head span:nth-child(4){text-align:center}
  .compact-switch{justify-content:center}
  .compact-switch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .push-device-actions{align-items:stretch}
  .push-device-actions .button{width:100%}
}


/* 1.71 DEV — spójny status integracji, linkowanie do alertu i mobilne połączenia */
.alert-focus-target{scroll-margin-top:96px;animation:alert-focus-pulse 1.8s ease-out 1;box-shadow:0 0 0 3px rgba(23,107,91,.2)}
@keyframes alert-focus-pulse{0%{box-shadow:0 0 0 6px rgba(23,107,91,.3)}100%{box-shadow:0 0 0 3px rgba(23,107,91,.08)}}
@media(max-width:760px){
  .integration-connections-scroll{overflow:visible}
  .integration-connections-table,.integration-connections-table tbody,.integration-connections-table tr,.integration-connections-table td{display:block;width:100%}
  .integration-connections-table{min-width:0;border:0;background:transparent}
  .integration-connections-table thead{display:none}
  .integration-connections-table tbody{display:grid;gap:14px}
  .integration-connections-table tr{padding:14px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04)}
  .integration-connections-table td{display:grid;grid-template-columns:minmax(105px,34%) minmax(0,1fr);gap:10px;align-items:start;padding:9px 0;border:0;border-top:1px solid #eef2f5;white-space:normal;overflow-wrap:anywhere}
  .integration-connections-table td:first-child{padding-top:0;border-top:0}
  .integration-connections-table td::before{content:attr(data-label);font-size:.75rem;font-weight:800;letter-spacing:.02em;color:var(--muted)}
  .integration-connections-table td small{display:block;margin-top:4px}
  .integration-connections-table .table-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .integration-connections-table .table-actions form,.integration-connections-table .table-actions .button{width:100%;margin:0}
  .integration-sync-progress{min-width:0}
}


/* 1.76 DEV — archiwum zdjęć Allegro */
.image-archive-org-summary{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 16px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#f8fafc;font-size:.9rem}
.image-archive-setting{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}
.image-archive-toggle{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.image-archive-toggle>input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--primary)}.image-archive-toggle>span{display:grid;gap:3px}.image-archive-toggle small{font-weight:400;color:var(--muted)}
.image-archive-setting__footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.link-button{border:0;background:transparent;padding:4px 0;color:var(--primary);font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
.image-archive-modal{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:20px}.image-archive-modal[hidden]{display:none}.image-archive-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}.image-archive-modal__dialog{position:relative;z-index:1;width:min(680px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;padding:24px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.3)}.image-archive-modal__close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f6;font-size:26px;line-height:1;cursor:pointer}.image-archive-rules{display:grid;gap:7px;margin:18px 0 0;padding-left:20px}
.image-archive-billing-grid{margin-top:14px}.image-archive-event-delta--plus{font-weight:800}.image-archive-event-delta--minus{font-weight:800}
@media(max-width:760px){.image-archive-org-summary{display:grid;gap:6px}.image-archive-setting__footer .button{width:auto}.image-archive-modal{padding:10px}.image-archive-modal__dialog{max-height:calc(100vh - 20px);padding:20px 16px}}

/* 1.79.5: Integracje — ustawienia i akcje destrukcyjne pod tabelą */
.integration-actions-cell{min-width:430px}
.integration-wide-section{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}
.integration-wide-section h3{margin:0}
.integration-wide-list{display:grid;gap:12px}
.image-archive-setting--wide{margin-top:0}
.integration-delete-panel--wide{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;margin-top:0}
.integration-delete-panel--wide[hidden]{display:none}
.integration-delete-panel__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.integration-delete-panel__heading p{margin:.35rem 0 0}
.integration-delete-confirmation{display:grid;grid-template-columns:minmax(220px,360px) auto;align-items:end;gap:12px}
.integration-delete-confirmation label{display:grid;gap:6px;margin:0}
.integration-delete-confirmation input{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:#fff}
@media(max-width:760px){.integration-actions-cell{min-width:0}.integration-delete-panel__heading{display:grid}.integration-delete-confirmation{grid-template-columns:1fr}.integration-delete-confirmation .button{width:100%}}

/* 1.79.9 DEV — operacyjny panel rozliczeń */
.billing-admin-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap}.billing-admin-filters{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:12px;flex:1}.billing-admin-count{margin:0 0 10px;color:var(--muted)}.billing-admin-table{min-width:1500px}.billing-admin-table td{vertical-align:top}.billing-status,.billing-action{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;font-size:.78rem;font-weight:800}.billing-status--tester{background:#eef2ff;color:#4338ca}.billing-status--trial{background:#fff7ed;color:#9a3412}.billing-status--paid{background:#ecfdf5;color:#166534}.billing-action--issue,.billing-action--check_payment{background:#fff1f2;color:#9f1239}.billing-action--awaiting_payment{background:#fffbeb;color:#92400e}.billing-action--paid{background:#ecfdf5;color:#166534}.billing-action--tester,.billing-action--trial,.billing-action--none{background:#f1f5f9;color:#475569}.billing-cost-breakdown{display:grid;gap:3px;min-width:165px;font-size:.84rem}.billing-discount{color:#166534}.billing-row-actions{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;min-width:280px}.billing-row-actions form{margin:0}.billing-document-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px}.billing-document-modal[hidden]{display:none}.billing-document-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62)}.billing-document-modal__dialog{position:relative;z-index:1;width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.34)}.billing-document-modal__close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#eef2f6;font-size:28px;line-height:1;cursor:pointer}.billing-document-org{margin:.25rem 0 18px;font-size:1.05rem;font-weight:800}.billing-document-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}.billing-document-summary>div{display:grid;gap:4px;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:#f8fafc}.billing-document-summary span{font-size:.76rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.billing-document-summary__total{grid-column:1/-1;background:#eefbf7!important;border-color:#b8e6d8!important}.billing-document-summary__total strong{font-size:1.25rem}.billing-document-form__actions{display:flex;justify-content:flex-end;gap:10px}.modal-open{overflow:hidden}
@media(max-width:980px){.billing-admin-filters{grid-template-columns:repeat(2,minmax(160px,1fr))}}
@media(max-width:620px){.billing-admin-filters{grid-template-columns:1fr}.billing-admin-toolbar{align-items:stretch}.billing-document-modal{padding:8px}.billing-document-modal__dialog{max-height:calc(100vh - 16px);padding:22px 14px}.billing-document-summary{grid-template-columns:1fr 1fr}.billing-document-summary__total{grid-column:1/-1}.billing-document-form__actions{display:grid;grid-template-columns:1fr}.billing-document-form__actions .button{width:100%}}

/* 1.79.10: czytelne rozliczenia archiwum zdjęć */
.billing-details{margin-top:18px;border:1px solid var(--border,#d9e2ec);border-radius:16px;background:var(--surface,#fff);overflow:hidden}.billing-details>summary{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:16px 18px;font-weight:800;cursor:pointer;list-style:none}.billing-details>summary::-webkit-details-marker{display:none}.billing-details>summary::after{content:'Rozwiń';font-size:.82rem;font-weight:700;color:var(--muted,#64748b)}.billing-details[open]>summary::after{content:'Zwiń'}.billing-details__body{padding:0 18px 18px}.table-subline{display:block;margin-top:4px;max-width:440px;color:var(--muted,#64748b);white-space:normal}.billing-delta{font-variant-numeric:tabular-nums}.billing-delta--plus{color:#9a4b14}.billing-delta--minus{color:#0f766e}.billing-archive-table td,.billing-archive-history td{vertical-align:top}.billing-archive-history td:nth-child(4),.billing-archive-history td:nth-child(5){white-space:nowrap}@media(max-width:720px){.billing-details>summary{align-items:flex-start}.billing-details__body{padding:0 12px 14px}.billing-archive-card .table-wrap{margin-left:-12px;margin-right:-12px}.billing-archive-table,.billing-archive-history{min-width:760px}}
.billing-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;flex-wrap:wrap}.billing-pagination span{font-size:.9rem;color:var(--muted,#64748b);font-weight:700}
.billing-table-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:14px 0 8px;padding:12px;border:1px solid var(--border,#d9e2ec);border-radius:12px;background:var(--surface-subtle,#f8fafc)}.billing-table-toolbar label{display:grid;gap:5px;min-width:150px}.billing-table-toolbar label:first-of-type{flex:1 1 260px}.billing-table-toolbar label span,.billing-page-jump label span{font-size:.78rem;font-weight:800;color:var(--muted,#64748b)}.billing-table-toolbar input,.billing-table-toolbar select,.billing-page-jump input{min-height:38px}.billing-results-count{margin:8px 0 12px;font-size:.88rem;color:var(--muted,#64748b);font-weight:700}.billing-page-jump{display:flex;align-items:flex-end;gap:6px}.billing-page-jump label{display:grid;gap:3px}.billing-page-jump input{width:82px}.billing-pagination{justify-content:space-between}@media(max-width:720px){.billing-table-toolbar{align-items:stretch}.billing-table-toolbar label{width:100%}.billing-table-toolbar .button{width:100%;justify-content:center}.billing-page-jump{width:100%;justify-content:center}.billing-pagination{justify-content:center}}


/* 1.79.16 DEV — pojemność archiwum zdjęć per organizacja */
.storage-org-table{min-width:1180px}.storage-org-table td,.storage-org-table th{vertical-align:top;white-space:nowrap}.storage-org-table td:first-child{min-width:210px;white-space:normal}.storage-org-table small{display:block;margin-top:4px;color:var(--muted)}
.offer-list-category{color:var(--muted);font-weight:700}.offer-relist-inline{margin-top:4px}.relist-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}.relist-step-grid .content-card{padding:18px}.relist-step-grid h2{margin:8px 0 4px;font-size:18px}.checkbox-line{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}.checkbox-line input{margin-top:4px}@media(max-width:760px){.relist-step-grid{grid-template-columns:1fr}.offer-relist-inline .button{width:auto}.offer-list-item{align-items:flex-start}}

/* 1.81.0 billing prepaid */
.billing-trial-continue-form{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:14px}
.checkbox-row{display:flex;align-items:flex-start;gap:10px;line-height:1.45}
.checkbox-row input{margin-top:3px;flex:0 0 auto}
.checkbox-row--compact{font-size:.82rem;max-width:250px;margin-bottom:7px}
.billing-plan-form{display:flex;flex-direction:column;align-items:flex-start;gap:4px}

/* 1.81.7 — alerty oferty i edycja referencji draftu */
.offer-alert-list{display:grid;gap:0}.offer-alert-list__item{padding:14px 0;border-top:1px solid var(--border)}.offer-alert-list__item:first-child{border-top:0}.offer-alert-list__item p{margin:4px 0 0;color:var(--muted)}.offer-alert-list__item--compact{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr);align-items:center;gap:18px}.offer-alert-change-heading{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.offer-alert-change-heading .offer-alert-change-label{display:block;align-self:auto}.offer-alert-change-heading small{display:block}.offer-alert-change-values{display:flex;align-items:center;gap:12px;min-width:0}.offer-alert-change-values .change-value-box{flex:1;min-width:0}.offer-alert-list--compact .timeline-change-comparison{margin:0;min-width:0}
@media(max-width:760px){.offer-alert-list__item--compact{grid-template-columns:1fr;gap:10px}.offer-alert-change-values{align-items:stretch}.offer-alert-change-values .change-value-box{flex:1}}
.relist-reference-tile{position:relative}.relist-reference-tile--editable{padding-bottom:46px}.relist-reference-edit{position:absolute;left:12px;bottom:11px;border:0;background:transparent;color:var(--primary);font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;padding:3px 0}.relist-reference-edit:hover{text-decoration:underline}.relist-reference-hint{margin:14px 0 0}.relist-reference-modal{position:fixed;inset:0;z-index:3200;display:grid;place-items:center;padding:20px}.relist-reference-modal[hidden]{display:none}.relist-reference-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.64)}.relist-reference-modal__dialog{position:relative;z-index:1;width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.36)}.relist-reference-modal__close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#eef2f6;font-size:28px;line-height:1;cursor:pointer}.relist-reference-modal .field{margin:18px 0}.relist-reference-modal .styled-select{width:100%}
@media(max-width:620px){.relist-reference-modal{padding:8px}.relist-reference-modal__dialog{max-height:calc(100vh - 16px);padding:22px 14px}}

.offer-history-section{padding:0;overflow:hidden}.offer-history-section>summary{list-style:none}.offer-history-section>summary::-webkit-details-marker{display:none}.offer-history-section__summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;cursor:pointer}.offer-history-section__summary>span:first-child{display:grid;gap:4px}.offer-history-section__summary strong{font-size:20px}.offer-history-section__summary small{color:var(--muted);font-weight:600}.offer-history-section__summary::after{content:'Rozwiń';font-size:12px;font-weight:800;color:var(--primary)}.offer-history-section[open]>.offer-history-section__summary{border-bottom:1px solid var(--border)}.offer-history-section[open]>.offer-history-section__summary::after{content:'Zwiń'}.offer-history-section__body{padding:20px 22px}.offer-history-section__body>.card-heading:first-child{margin-top:0}@media(max-width:700px){.offer-history-section__summary{align-items:flex-start;flex-wrap:wrap;padding:16px}.offer-history-section__summary::after{margin-left:auto}.offer-history-section__body{padding:16px}}

/* Produkty: 1.81.27 */
.product-list-item{display:flex;align-items:center;gap:.75rem;min-width:220px}.product-list-item__image{width:56px;height:56px;object-fit:contain;border-radius:.5rem;background:var(--surface-subtle,#f8fafc)}.product-detail-image{display:flex;justify-content:center;margin-bottom:1rem}.product-detail-image img{max-width:220px;max-height:220px;object-fit:contain}

.product-source-field-list{display:grid;gap:10px;margin-top:18px}.product-source-field-list .checkbox-row{width:100%;margin:0}

.product-field-source{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.35}.product-logistics-card{margin:0}.product-logistics-card>summary{cursor:pointer;font-size:18px;font-weight:800;list-style-position:outside}.product-logistics-card[open]>summary{margin-bottom:14px}.product-logistics-card .data-list{margin-top:0}

/* 1.81.31 DEV — rozbudowana tabela ofert produktu */
.product-offers-scroll{overflow-x:auto}.product-offers-table{min-width:1180px}.product-offers-table th,.product-offers-table td{vertical-align:middle}.product-offers-table__source{width:125px;min-width:125px}.product-offers-table__source small{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:400}.product-offer-summary{display:flex;align-items:center;gap:10px;min-width:330px;color:inherit;text-decoration:none}.product-offer-summary__image{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden;color:var(--muted)}.product-offer-summary__image img{width:100%;height:100%;object-fit:contain}.product-offer-summary__text{display:grid;gap:3px;min-width:0}.product-offer-summary__title{font-weight:500;line-height:1.3;font-size:14px}.product-offer-summary__category{max-width:480px;color:var(--muted);font-weight:400;white-space:normal;line-height:1.25}.product-offer-summary__text>small:last-child{color:var(--muted);font-size:11px;font-weight:400}.product-offer-value-cell{white-space:nowrap}.product-offer-editable-value{display:inline-flex;align-items:center;gap:7px}.product-inline-edit-placeholder{font-size:15px;color:var(--primary);opacity:.65;cursor:help}.product-inline-edit-placeholder.is-disabled{color:var(--muted);opacity:.35}.product-info-dot{display:inline-grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800;color:var(--muted);cursor:help}.product-profit-missing{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}.product-offers-table__checked{white-space:nowrap}.product-offer-row--inactive{opacity:.72}.product-inactive-offers{margin-top:16px;border-top:1px solid var(--border)}.product-inactive-offers>summary{padding:14px 0 0;cursor:pointer;font-weight:800;color:var(--muted)}.product-inactive-offers__body{margin-top:12px}@media(max-width:760px){.product-offers-table{min-width:1080px}.product-offer-summary{min-width:280px}}

/* Produkty 1.81.32: filtry zaawansowane i zapisane widoki */
.product-saved-filters{margin-bottom:16px}.product-filter-chips{display:flex;flex-wrap:wrap;gap:8px}.product-filter-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:5px 8px 5px 12px}.product-filter-chip a{color:inherit;text-decoration:none;font-weight:700}.product-filter-chip form{margin:0}.product-filter-chip button{border:0;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:0 3px}.product-advanced-filter{margin-bottom:16px}.product-filter-primary{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,300px) auto auto;gap:12px;align-items:end}.product-filter-details{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}.product-filter-details>summary{cursor:pointer;font-weight:800}.product-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px;margin:16px 0}.product-filter-grid fieldset{min-width:0;border:1px solid var(--border);border-radius:12px;padding:14px}.product-filter-grid legend{font-weight:800;padding:0 5px}.filter-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-save-filter-card{margin-bottom:16px}.product-save-filter-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:end}.product-list-meta{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}@media(max-width:1000px){.product-filter-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}.product-filter-primary{grid-template-columns:1fr 1fr}.product-filter-primary .button{width:100%}}@media(max-width:680px){.product-filter-grid,.product-filter-primary,.product-save-filter-form{grid-template-columns:1fr}.filter-range{grid-template-columns:1fr 1fr}}

.product-source-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.product-source-method{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--border);border-radius:14px;padding:16px;cursor:pointer;background:var(--surface)}.product-source-method span{display:grid;gap:4px}.product-source-method small{color:var(--muted);font-weight:400}.source-run-details{margin-top:6px}.source-run-details summary{cursor:pointer;color:var(--primary);font-size:.85rem}.source-run-details ul{margin:8px 0 0;padding-left:18px;font-size:.85rem}@media(max-width:760px){.product-source-methods{grid-template-columns:1fr}}

.product-source-method{text-decoration:none;color:inherit}.product-source-method.is-selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 18%,transparent)}.product-search-note{margin:10px 0 0;font-size:.86rem}

/* 1.81.35: compact product offers view */
.product-offers-card__actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.product-offers-compact-toggle{cursor:pointer}.product-offer-summary--compact{display:none}.product-offers-card--compact .product-offers-table{min-width:920px}.product-offers-card--compact .product-offers-table th,.product-offers-card--compact .product-offers-table td{padding-top:6px;padding-bottom:6px}.product-offers-card--compact .product-offers-table__source{width:105px;min-width:105px}.product-offers-card--compact .product-offers-table__source .integration-source{padding:3px 7px;font-size:10px}.product-offers-card--compact .product-offers-table__source small{margin-top:2px;font-size:10px}.product-offers-card--compact .product-offer-summary--full{display:none}.product-offers-card--compact .product-offer-summary--compact{display:flex;min-width:150px}.product-offers-card--compact .product-offer-summary__text{gap:1px}.product-offers-card--compact .product-offer-summary__category-leaf{font-size:12px;font-weight:500;line-height:1.15;color:var(--text)}.product-offers-card--compact .product-offer-summary__text>small{font-size:10px;line-height:1.1}.product-offers-card--compact .product-offer-value-cell,.product-offers-card--compact .product-offers-table__checked{font-size:12px}.product-offers-card--compact .product-inline-edit-placeholder{font-size:13px}.product-offers-card--compact .badge{padding:4px 7px;font-size:9px}.product-offers-card--compact .product-info-dot{width:14px;height:14px;font-size:9px}.product-offers-card--compact .product-inactive-offers>summary{padding-top:9px;font-size:12px}

.product-import-map table{table-layout:fixed;min-width:760px}.product-import-map th:nth-child(1),.product-import-map td:nth-child(1){width:20%}.product-import-map th:nth-child(2),.product-import-map td:nth-child(2){width:57%}.product-import-map th:nth-child(3),.product-import-map td:nth-child(3){width:23%}.product-import-map td{vertical-align:top}.product-import-map__sample{max-width:0;overflow-wrap:anywhere;word-break:break-word}.product-import-sample{max-width:100%}.product-import-sample summary{cursor:pointer;color:var(--text);overflow:hidden;text-overflow:ellipsis}.product-import-sample summary::marker{color:var(--primary)}.product-import-sample>div{max-height:220px;margin-top:8px;padding:10px;border:1px solid var(--border);border-radius:9px;background:#f7faf9;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:13px}.product-import-map__target select{width:100%;min-width:0}@media(max-width:680px){.product-import-map table{min-width:700px}}

.offer-list-editable-value{display:inline-flex;align-items:center;gap:7px}.offer-inline-edit-placeholder{font-size:15px;color:var(--primary);opacity:.68;cursor:help;line-height:1}.offer-inline-edit-placeholder.is-disabled{color:var(--muted);opacity:.3}


.product-field-display{display:flex;align-items:center;gap:8px;justify-content:flex-end}.product-field-edit-button{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:15px;padding:2px 4px}.product-field-edit-button:hover{color:var(--primary)}.product-inline-field-form{margin-top:8px;max-width:420px;margin-left:auto}.product-inline-field-form .button-row{margin-top:6px}.product-inline-field-form .form-error{display:block;margin-top:4px;color:var(--danger)}.product-editable-list dd{min-width:0}

/* 1.81.51: zwijana treść produktu */
.product-content-card>summary{cursor:pointer;font-size:18px;font-weight:800}.product-content-card[open]>summary{margin-bottom:10px}.product-content-fields .product-field-display--content{align-items:flex-start}.product-content-fields [data-product-field-value]{white-space:pre-wrap;overflow-wrap:anywhere;max-width:900px;text-align:left;line-height:1.45}.product-inline-field-form--wide{max-width:900px}.product-content-textarea{width:100%;min-height:140px;resize:vertical;font-family:inherit;line-height:1.45}
.metric-chart-legend{display:flex;flex-wrap:wrap;gap:14px;margin:-2px 0 10px;color:var(--muted);font-size:12px;font-weight:750}.metric-chart-legend span{display:inline-flex;align-items:center;gap:7px}.metric-chart-legend__line{display:inline-block;width:24px;border-top:3px solid var(--primary);border-radius:999px}.metric-chart-legend__line--promotion{border-top-style:dashed;border-top-color:var(--warning)}.metric-chart__line--promotion{stroke:var(--warning);stroke-dasharray:8 6}.metric-chart__single-point{fill:var(--primary)}.metric-chart__single-point--promotion{fill:var(--warning)}.metric-chart__hover-point--promotion{stroke:var(--warning)}
/* 1.81.91 — tooltip wykresu ceny pokazuje cenę bazową i promocyjną. */


/* 1.81.55 — galeria zdjęć produktu */
.product-gallery-card{position:relative}.product-gallery-card h2{display:flex;align-items:center;gap:8px}.product-gallery-main{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;margin:14px 0}.product-gallery-open{border:0;background:transparent;padding:0;cursor:zoom-in;min-height:260px;display:flex;align-items:center;justify-content:center}.product-gallery-open img{display:block;max-width:100%;max-height:420px;object-fit:contain;border-radius:12px}.product-gallery-arrow{width:42px;height:42px;border:1px solid var(--border);border-radius:50%;background:var(--surface);font-size:28px;line-height:1;cursor:pointer}.product-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px}.product-gallery-thumb{flex:0 0 68px;width:68px;height:68px;border:2px solid transparent;border-radius:10px;padding:3px;background:var(--surface);cursor:pointer}.product-gallery-thumb.is-active{border-color:var(--accent)}.product-gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:6px}.product-image-links{margin:14px 0}.product-image-links>summary{cursor:pointer;font-weight:700}.product-image-url-list{margin-top:12px}.product-image-url-list [data-product-field-value]{display:block;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-gallery-lightbox[hidden]{display:none}.product-gallery-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(7,17,31,.92);display:flex;align-items:center;justify-content:center;padding:40px 70px}.product-gallery-lightbox>img{max-width:min(92vw,1500px);max-height:90vh;object-fit:contain}.product-gallery-lightbox__close,.product-gallery-lightbox__arrow{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;cursor:pointer}.product-gallery-lightbox__close{top:20px;right:20px;width:44px;height:44px;font-size:30px}.product-gallery-lightbox__arrow{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:38px}.product-gallery-lightbox__arrow--prev{left:16px}.product-gallery-lightbox__arrow--next{right:16px}@media(max-width:700px){.product-gallery-main{grid-template-columns:34px minmax(0,1fr) 34px}.product-gallery-arrow{width:34px;height:34px}.product-gallery-open{min-height:180px}.product-gallery-lightbox{padding:48px 44px}.product-gallery-lightbox__arrow{width:40px;height:40px}.product-gallery-lightbox__arrow--prev{left:4px}.product-gallery-lightbox__arrow--next{right:4px}}
.product-data-card .data-list{margin-top:14px}.product-data-more{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.product-data-more>summary{cursor:pointer;color:var(--primary);font-weight:800}.product-data-more[open]>summary{margin-bottom:4px}.product-data-more .data-list{margin-top:4px}

/* 1.81.67: product page uses one permanent compact layout. */
.product-page--compact.app-section{padding-top:34px;padding-bottom:58px}
.product-page--compact .page-heading{gap:18px;margin-bottom:16px}
.product-page--compact .page-heading .eyebrow{margin-bottom:7px;padding:4px 8px;font-size:10px}
.product-page--compact .page-heading h1{font-size:clamp(28px,4vw,40px);line-height:1.05}
.product-page--compact .page-heading p:last-child{margin-top:7px;font-size:13px}
.product-page--compact .page-heading .button{min-height:36px;padding:7px 11px;font-size:12px}
.product-page--compact .dashboard-grid{gap:12px;margin-top:12px;align-items:start}
.product-page--compact .content-card{padding:18px}
.product-page--compact .content-card--spaced{margin-top:12px}
.product-page--compact .content-card h2{font-size:19px}
.product-page--compact .card-heading{gap:12px;margin-bottom:10px}
.product-page--compact .card-heading p,.product-page--compact .content-card>p.muted{margin:4px 0 0;font-size:12px;line-height:1.4}
.product-page--compact .data-list{margin-top:8px}
.product-page--compact .data-list>div{gap:12px;padding:6px 0}
.product-page--compact .data-list dt{font-size:12px;line-height:1.25}
.product-page--compact .data-list dd{font-size:13px;line-height:1.25}
.product-page--compact .product-field-source{margin-top:2px;font-size:9px;line-height:1.25}
.product-page--compact .product-field-edit-button{width:24px;height:24px;font-size:12px}
.product-page--compact .product-data-card .data-list{margin-top:7px}
.product-page--compact .product-data-more{margin-top:8px;padding-top:7px}
.product-page--compact .product-data-more>summary,.product-page--compact .product-image-links>summary{font-size:12px}
.product-page--compact .product-logistics-card>summary,.product-page--compact .product-content-card>summary{font-size:15px}
.product-page--compact .product-logistics-card[open]>summary{margin-bottom:7px}
.product-page--compact .product-gallery-main{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px;margin:8px 0}
.product-page--compact .product-gallery-open{min-height:150px}
.product-page--compact .product-gallery-open img{max-height:250px;border-radius:8px}
.product-page--compact .product-gallery-arrow{width:30px;height:30px;font-size:21px}
.product-page--compact .product-gallery-thumbs{gap:5px;padding-bottom:5px}
.product-page--compact .product-gallery-thumb{flex-basis:46px;width:46px;height:46px;border-radius:7px}
.product-page--compact .product-image-links{margin:7px 0}
.product-page--compact .product-gallery-card form>.field{gap:3px}
.product-page--compact .product-gallery-card form>.field>span{font-size:11px}
.product-page--compact .styled-select,.product-page--compact .styled-input{min-height:34px;padding:6px 9px;font-size:12px}
.product-page--compact .button--small{min-height:30px;padding:4px 8px;font-size:11px}
.product-page--compact .product-content-fields [data-product-field-value]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product-page--compact .product-offers-card__actions{gap:7px}
.product-page--compact .product-offers-table th,.product-page--compact .product-offers-table td,
.product-page--compact .content-card .table-scroll table th,.product-page--compact .content-card .table-scroll table td{padding-top:6px;padding-bottom:6px}
.product-page--compact .product-inactive-offers>summary{padding-top:7px}
.product-page--compact .product-inactive-offers__body{padding-top:6px}
@media(max-width:760px){.product-page--compact.app-section{padding-top:24px}.product-page--compact .content-card{padding:16px}.product-page--compact .dashboard-grid{gap:10px}.product-page--compact .product-gallery-open{min-height:140px}}

/* 1.81.71 DEV — zwijane sekcje integracji */
.integration-collapsible{padding:0;overflow:hidden}.integration-collapsible>summary{list-style:none}.integration-collapsible>summary::-webkit-details-marker{display:none}.integration-collapsible__summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;font-size:18px;font-weight:850}.integration-collapsible__summary::after{content:'▾';margin-left:auto;color:var(--muted);font-size:14px;transition:transform .15s ease}.integration-collapsible[open]>.integration-collapsible__summary::after{transform:rotate(180deg)}.integration-collapsible__summary .badge,.integration-collapsible__summary .muted{margin-left:0}.integration-collapsible__body{padding:0 20px 20px;border-top:1px solid var(--border)}.integration-collapsible__body>.table-scroll,.integration-collapsible__body>.image-archive-org-summary,.integration-collapsible__body>p{margin-top:16px}@media(max-width:680px){.integration-collapsible__summary{align-items:flex-start;padding:15px 16px;font-size:16px}.integration-collapsible__body{padding:0 16px 16px}}

.product-commission-meta{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;margin-left:5px;vertical-align:middle}

/* 1.81.76: edycja ceny/stanu aktywnej oferty bezpośrednio na karcie produktu. */
.product-inline-edit-button{display:inline-grid;place-items:center;padding:0;border:0;background:transparent;color:var(--primary);font:inherit;font-size:15px;line-height:1;cursor:pointer;opacity:.8}.product-inline-edit-button:hover{opacity:1}.product-inline-edit-button:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}.offer-edit-modal{position:fixed;inset:0;z-index:3400;display:grid;place-items:center;padding:20px}.offer-edit-modal[hidden]{display:none}.offer-edit-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.64)}.offer-edit-modal__dialog{position:relative;z-index:1;width:min(520px,100%);padding:26px;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.36)}.offer-edit-modal__close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#eef2f6;font-size:28px;line-height:1;cursor:pointer}.offer-edit-modal__dialog .field{margin:18px 0}.offer-edit-modal__notice,.offer-edit-modal__result{margin:12px 0;padding:11px 13px;border-radius:10px;font-size:.9rem}.offer-edit-modal__notice.is-warning{background:#fff7ed;border:1px solid #fed7aa}.offer-edit-modal__result.is-error{background:#fff1f2;border:1px solid #fecdd3}.offer-edit-modal__result.is-success{background:#ecfdf5;border:1px solid #bbf7d0}.offer-edit-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}@media(max-width:620px){.offer-edit-modal{padding:8px}.offer-edit-modal__dialog{padding:22px 14px}.offer-edit-modal__actions{display:grid;grid-template-columns:1fr 1fr}.offer-edit-modal__actions .button{width:100%}}

/* 1.81.77 DEV — kompaktowa karta oferty i spójne akcje na tabelach ofert. */
.offer-detail-page--compact .page-heading{gap:14px;margin-bottom:16px}
.offer-detail-page--compact .page-heading h1{font-size:clamp(23px,2.2vw,31px);line-height:1.18;margin:4px 0 5px}
.offer-detail-page--compact .page-heading p{margin:3px 0;font-size:13px}
.offer-detail-page--compact .button-row{gap:7px}
.offer-detail-page--compact .button{min-height:34px;padding:7px 11px;font-size:12px}
.offer-detail-page--compact .content-card{padding:16px 18px}
.offer-detail-page--compact .content-card--spaced{margin-top:12px}
.offer-detail-page--compact .card-heading{gap:12px;margin-bottom:11px}
.offer-detail-page--compact .card-heading h2{font-size:17px}
.offer-detail-page--compact .card-heading p,.offer-detail-page--compact .muted{font-size:12px}
.offer-detail-page--compact table th{padding:8px 9px;font-size:11px}
.offer-detail-page--compact table td{padding:8px 9px;font-size:12.5px;line-height:1.3}
.offer-detail-page--compact table td small{font-size:11px;line-height:1.25}
.offer-detail-page--compact .data-list>div{padding:8px 0;gap:10px}
.offer-detail-page--compact .data-list dt{font-size:11px}
.offer-detail-page--compact .data-list dd{font-size:12.5px}
.offer-detail-page--compact .timeline-item{padding:10px 0;gap:10px;font-size:12.5px}
.offer-detail-page--compact .timeline-item small{font-size:11px}
.offer-detail-page--compact .offer-gallery{gap:8px}
.offer-detail-page--compact .offer-gallery img{width:104px;height:104px}
.offer-detail-page--compact .offer-description summary,.offer-detail-page--compact details>summary{font-size:12.5px}
.offer-detail-page--compact .stats-grid{gap:10px}
.offer-detail-page--compact .mini-stat{padding:10px}
.offer-detail-page--compact .mini-stat strong{font-size:19px}
.offer-detail-page--compact .offer-history-section__body{padding-top:10px}
.offer-detail-page--compact .offer-alert-list__item{padding:10px 12px}
.product-offer-source-id{color:var(--primary)!important;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--primary) 35%,transparent);text-underline-offset:2px}
.offer-list-editable-value .product-inline-edit-button{flex:0 0 auto}

/* Spójna akcja prowadząca do karty produktu. Używaj tej klasy także w nowych integracjach/widokach. */
.button--product{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 10px 24px rgba(23,107,91,.16)}.button--product:hover{background:var(--primary-hover);border-color:var(--primary-hover);color:#fff}.alert-product-action{display:flex;align-items:center;gap:8px;margin:8px 0}.alert-product-action .button--product,.alert-product-action a.button--product:link,.alert-product-action a.button--product:visited{background:var(--primary);border-color:var(--primary);color:#fff!important}.alert-product-action .button--product:hover,.alert-product-action .button--product:focus-visible,.alert-product-action a.button--product:hover,.alert-product-action a.button--product:focus-visible{background:var(--primary-hover);border-color:var(--primary-hover);color:#fff!important}.grouped-offer-item .alert-product-action{display:flex;margin:6px 0 5px}

/* 1.81.90 — uproszczona karta produktu i lokalna miniatura 128x128. */
.product-thumbnail-card{text-align:center}
.product-thumbnail-button{display:inline-flex;align-items:center;justify-content:center;width:144px;height:144px;padding:8px;border:1px solid var(--border-color,#dce3e8);border-radius:14px;background:#fff;cursor:pointer}
.product-thumbnail-image{display:block;max-width:128px;max-height:128px;width:auto;height:auto;object-fit:contain;border-radius:8px}
.product-thumbnail-placeholder{font-size:12px;color:var(--text-muted,#68747d)}
.product-thumbnail-modal[hidden]{display:none!important}
.product-thumbnail-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px}
.product-thumbnail-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62)}
.product-thumbnail-modal__panel{position:relative;z-index:1;width:min(920px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 80px rgba(15,23,42,.28)}
.product-thumbnail-upload{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:14px 0 18px;border-bottom:1px solid var(--border-color,#e5e7eb)}
.product-thumbnail-candidates{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-top:12px}
.product-thumbnail-candidate button{width:100%;height:100%;padding:10px;border:1px solid var(--border-color,#e5e7eb);border-radius:12px;background:#fff;cursor:pointer;text-align:left}
.product-thumbnail-candidate button:hover,.product-thumbnail-candidate button:focus{border-color:#198754;box-shadow:0 0 0 2px rgba(25,135,84,.12)}
.product-thumbnail-candidate img{display:block;width:96px;height:96px;object-fit:contain;margin:0 auto 8px}
.product-thumbnail-candidate small{display:block;font-size:10px;line-height:1.25;max-height:2.5em;overflow:hidden}
@media(max-width:700px){.product-thumbnail-modal{padding:10px}.product-thumbnail-modal__panel{padding:16px}.product-thumbnail-candidates{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.81.94 DEV — automatyczne uzupełnianie miniatur produktów. */
.product-main-column{display:grid;gap:12px;align-content:start;min-width:0}
.product-main-column .product-logistics-card{margin:0}
.product-logistics-groups{display:grid;gap:10px;margin-top:8px}
.product-logistics-group{padding-top:8px;border-top:1px solid var(--border)}
.product-logistics-group:first-child{padding-top:0;border-top:0}
.product-logistics-group h3{margin:0 0 4px;font-size:12px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.035em}
.product-logistics-fields{margin-top:0!important}
.product-page--compact .product-logistics-fields>div{padding:4px 0}
.product-page--compact .product-offers-card--compact .product-offer-summary--compact{min-width:210px}
.product-page--compact .product-offers-card--compact .product-offer-summary__title{font-size:14px;font-weight:600;line-height:1.25;color:var(--text)}
.product-page--compact .product-offers-card--compact .product-offer-summary__category{font-size:10px;line-height:1.15}
@media(max-width:760px){.product-main-column{gap:10px}}

/* 1.81.95 DEV — zwarty, wspólny blok danych produktu i dyskretna świeżość źródeł. */
.product-overview-card{display:grid;gap:14px}
.product-overview-card__heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.product-overview-card__heading h2{margin:0}
.product-freshness{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;line-height:1}
.product-freshness:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.product-freshness--fresh{color:var(--primary);background:rgba(15,118,110,.09)}
.product-freshness--unknown{color:#9a6700;background:#fff7d6}
.product-freshness--stale{color:#b42318;background:#fff0ee}
.product-overview-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.product-overview-column{display:grid;align-content:start;gap:0;min-width:0}
.product-compact-field{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.35fr);gap:12px;align-items:center;padding:7px 0;border-bottom:1px solid var(--border)}
.product-compact-field:last-child{border-bottom:0}
.product-compact-field__label{font-size:11px;color:var(--muted)}
.product-compact-field__value{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;font-size:13px;font-weight:700;text-align:right;overflow-wrap:anywhere}
.product-overview-thumbnail{display:flex;align-items:center;gap:12px;padding-top:10px}
.product-overview-thumbnail .product-thumbnail-button{flex:0 0 auto}
.product-overview-thumbnail small{font-size:10px;color:var(--muted);line-height:1.35;max-width:160px}
.product-metrics-section{padding-top:2px}
.product-metrics-section+.product-metrics-section{padding-top:10px;border-top:1px solid var(--border)}
.product-metrics-section h3{margin:0 0 7px;font-size:11px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.product-metrics-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.product-metrics-row--package{grid-template-columns:repeat(5,minmax(0,1fr))}
.product-metric{min-width:0;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:rgba(247,250,252,.58)}
.product-metric__label{display:block;margin-bottom:4px;font-size:10px;color:var(--muted)}
.product-metric__value{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:750}
.product-metric .product-field-edit-button{margin-left:auto}
.product-source-info{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font-size:9px;font-weight:850;line-height:1;cursor:help;color:#667085;background:transparent}
.product-source-info--stale{color:#b42318;background:#fff0ee}
.product-source-info--unknown{color:#9a6700;background:#fff7d6}
.product-source-info:after{content:attr(data-tooltip);position:absolute;z-index:80;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:max-content;max-width:min(360px,80vw);padding:8px 10px;border-radius:8px;background:#182235;color:#fff;font-size:10px;font-weight:500;line-height:1.4;text-align:left;white-space:normal;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease}
.product-source-info:hover:after,.product-source-info:focus:after{opacity:1;visibility:visible}
.product-overview-card .product-inline-field-form{grid-column:1/-1;margin-top:4px}
.product-overview-card .product-metric .product-inline-field-form{margin-top:7px}
@media(max-width:900px){.product-overview-top{grid-template-columns:1fr}.product-metrics-row,.product-metrics-row--package{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.product-overview-card__heading{align-items:flex-start;flex-direction:column}.product-compact-field{grid-template-columns:1fr;gap:3px}.product-compact-field__value{justify-content:flex-start;text-align:left}.product-metrics-row,.product-metrics-row--package{grid-template-columns:1fr 1fr}.product-overview-thumbnail{align-items:flex-start}}

/* 1.81.96 DEV — kompaktowy nagłówek produktu i zwijane wymiary/logistyka. */
.product-overview-title-wrap{display:flex;align-items:center;gap:8px;min-width:0}
.product-overview-title-wrap h2{min-width:0;overflow-wrap:anywhere}
.product-overview-title-form{flex-basis:100%;width:100%}
.product-overview-thumbnail--first{padding-top:0;padding-bottom:10px;border-bottom:1px solid var(--border)}
.product-metrics-collapsible{padding-top:0}
.product-metrics-collapsible+.product-metrics-collapsible{padding-top:0;border-top:1px solid var(--border)}
.product-metrics-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;cursor:pointer;list-style:none;font-size:11px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;user-select:none}
.product-metrics-collapsible>summary::-webkit-details-marker{display:none}
.product-metrics-collapsible__chevron{font-size:16px;line-height:1;transition:transform .15s ease}
.product-metrics-collapsible[open] .product-metrics-collapsible__chevron{transform:rotate(180deg)}
.product-metrics-collapsible>.product-metrics-row{padding:0 0 10px}
@media(max-width:600px){.product-overview-card__heading{gap:8px}.product-overview-title-wrap{width:100%}}

/* 1.81.96 DEV — orientacyjna ekonomika w modalu zmiany ceny. */
.offer-edit-estimate{margin-top:12px;padding:12px 13px;border:1px solid var(--border);border-radius:10px;background:rgba(247,250,252,.75)}
.offer-edit-estimate__title{margin:0 0 8px;font-size:11px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.offer-edit-estimate__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.offer-edit-estimate__grid div{display:grid;gap:2px}
.offer-edit-estimate__grid span{font-size:10px;color:var(--muted)}
.offer-edit-estimate__grid strong{font-size:13px}
.offer-edit-estimate small{display:block;margin-top:8px;color:var(--muted);font-size:10px;line-height:1.35}
@media(max-width:620px){.offer-edit-estimate__grid{grid-template-columns:1fr}}
.product-overview-card__heading{flex-wrap:wrap}
/* 1.81.97 DEV — edycja tytułu oferty tym samym modalem co cena i stan. */
.offer-list-editable-title{display:inline-flex;align-items:center;gap:6px;max-width:100%}.offer-list-editable-title>a{min-width:0}.offer-heading-edit-button{font-size:.72em;vertical-align:middle;margin-left:6px}.product-offer-summary__title.product-offer-editable-value{display:inline-flex;align-items:flex-start;gap:6px}

/* 1.81.99 DEV — sygnatura pod nazwą produktu i szybkie kopiowanie Sygnatury/EAN. */
.product-overview-title-text{display:grid;gap:3px;min-width:0}
.product-overview-signature{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:1.2;color:var(--muted)}
.product-overview-signature strong{min-width:0;overflow-wrap:anywhere;color:var(--text);font-weight:750}
.product-copy-icon-button{width:24px;height:24px;min-width:24px;border-radius:7px;font-size:12px;line-height:1}
.product-compact-field__value .product-copy-icon-button{margin-left:1px}

.offer-edit-char-counter{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.35;text-align:right}.offer-edit-char-counter.is-warning{color:#b45309;font-weight:700}.offer-edit-char-counter.is-error{color:#b91c1c;font-weight:800}

/* 1.82.01 DEV — dziennik aktywności użytkowników organizacji. */
.activity-page{max-width:1180px}.activity-filter-bar{margin-bottom:18px}.activity-list{display:grid;gap:10px}.activity-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:18px 20px}.activity-card__time{display:grid;align-content:start;gap:3px}.activity-card__time strong{font-size:12px}.activity-card__time span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.activity-card__body{min-width:0}.activity-card__title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.activity-card__title strong{font-size:14px}.activity-card__body>p{margin:4px 0 0;font-size:12px}.activity-card__message{color:var(--danger)!important}.activity-card__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.activity-card__actions details{min-width:0}.activity-card__actions summary{cursor:pointer;color:var(--primary);font-size:11px;font-weight:750}.activity-card__actions pre{max-width:min(760px,75vw);max-height:320px;overflow:auto;margin:7px 0 0;padding:10px;border-radius:9px;background:#101827;color:#e7edf5;font-size:10px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:720px){.activity-card{grid-template-columns:1fr;gap:8px}.activity-card__time{grid-template-columns:auto 1fr;gap:8px}}

/* 1.82.02 DEV — edycja nazwy produktu pod nagłówkiem, z szerszym polem. */
.product-overview-title-form{
    flex:0 0 100%;
    width:min(760px,100%);
    max-width:760px;
    margin:6px auto 0 0;
}
.product-overview-title-form .styled-input{
    width:100%;
}
@media(max-width:900px){
    .product-overview-title-form{width:100%;max-width:none;}
}

/* 1.82.03 DEV — kompaktowe podsumowanie produktu obok miniatury. */
.product-overview-identity-main{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:stretch;padding-bottom:10px;border-bottom:1px solid var(--border)}
.product-overview-identity-main .product-overview-thumbnail--first{padding:0;border-bottom:0;align-items:flex-start;justify-content:flex-start}
.product-overview-stats{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));min-width:0}
.product-overview-stat{display:grid;grid-template-columns:minmax(110px,.9fr) minmax(0,1.1fr);gap:10px;align-items:center;min-height:37px;padding:5px 0;border-bottom:1px solid var(--border)}
.product-overview-stat:last-child{border-bottom:0}
.product-overview-stat span{font-size:11px;color:var(--muted)}
.product-overview-stat strong{font-size:13px;text-align:right;overflow-wrap:anywhere}
@media(max-width:600px){.product-overview-identity-main{grid-template-columns:128px minmax(0,1fr);gap:12px}.product-overview-stat{grid-template-columns:1fr;gap:1px;align-content:center}.product-overview-stat strong{text-align:left}}

/* 1.82.06 — kompaktowe flagi aktywnych rynków ofert */
.offer-market-flags{display:inline-flex;align-items:center;gap:2px;margin-left:5px;vertical-align:baseline;white-space:nowrap}
.offer-market-flag{display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1;height:1em;max-height:16px;min-width:14px;vertical-align:baseline;cursor:help}
.alert-offer-title{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.product-offer-summary__title .offer-market-flags,.offer-list-editable-title .offer-market-flags{flex:0 0 auto}

.change-comparison-label{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.allegro-prices-state-badge{flex:0 0 auto}

/* 1.82.16 DEV — ochrona minimalnej marży organizacji. */
.offer-edit-estimate.is-risk{border-color:#efb0aa;background:#fff7f6}.offer-edit-estimate.is-risk [data-offer-edit-estimate-margin]{color:var(--danger)}
.offer-edit-margin-warning{margin-top:9px;padding:9px 10px;border-radius:8px;background:#fee9e7;color:#9f211b;font-size:11px;font-weight:750;line-height:1.4}
.margin-risk-badge{display:inline-flex;margin-top:4px}.margin-protection-settings .form-grid{max-width:420px}

/* 1.82.18 DEV — globalna wyszukiwarka produktów i ofert. */
.global-search-trigger{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}.global-search-trigger span{padding:2px 5px;border:1px solid var(--border);border-radius:5px;background:#f7fafc;color:var(--muted);font-size:9px;font-weight:700}.global-search-trigger:hover{border-color:#9bc9bf;background:#f6fbf9}.global-search{position:fixed;z-index:5000;inset:0;display:grid;place-items:start center;padding:9vh 16px 24px}.global-search[hidden]{display:none}.global-search__backdrop{position:absolute;inset:0;border:0;background:rgba(16,24,39,.48);cursor:default}.global-search__dialog{position:relative;width:min(720px,100%);max-height:78vh;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(16,24,39,.28)}.global-search__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px 10px}.global-search__head>div{display:grid;gap:2px}.global-search__head strong{font-size:17px}.global-search__head small{font-size:11px;color:var(--muted)}.global-search__close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:#f2f5f7;color:var(--text);font-size:22px;cursor:pointer}.global-search__field{display:block;padding:0 18px 14px}.global-search__field input{width:100%;height:46px;padding:0 14px;border:1px solid #9bc9bf;border-radius:10px;background:#fff;font-size:15px;outline:none;box-shadow:0 0 0 3px rgba(23,107,91,.08)}.global-search__results{max-height:calc(78vh - 120px);overflow:auto;padding:0 10px 12px}.global-search__hint{margin:6px 8px 10px;padding:14px;border-radius:10px;background:#f7fafc;color:var(--muted);font-size:12px}.global-search__hint kbd{padding:1px 5px;border:1px solid var(--border);border-bottom-width:2px;border-radius:4px;background:#fff;font-size:10px}.global-search__group-title{margin:10px 8px 5px;color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.global-search__item{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:var(--text);text-decoration:none}.global-search__content{display:grid;gap:3px;min-width:0}.global-search__content strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search__thumbnail{width:52px;height:52px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#fff}.global-search__thumbnail--empty{display:grid;place-items:center;background:#f7fafc;color:var(--muted);font-size:12px}.global-search__item:hover,.global-search__item.is-active{background:#eef8f5}.global-search__item strong{font-size:13px;line-height:1.35}.global-search__meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:10px}.global-search__type{display:inline-flex;padding:2px 6px;border-radius:999px;background:#eaf5f1;color:#176b5b;font-size:9px;font-weight:850;text-transform:uppercase}.global-search__empty{margin:8px;padding:18px;text-align:center;color:var(--muted);font-size:12px}.global-search__loading{margin:8px;padding:12px;color:var(--muted);font-size:12px}@media(max-width:980px){.global-search-trigger span{display:none}}@media(max-width:720px){.global-search{padding-top:4vh}.global-search__dialog{max-height:88vh}.global-search__results{max-height:calc(88vh - 120px)}}

/* 1.82.29 DEV — kompaktowa historia i alerty */
.history-list--compact,.history-list{gap:8px;margin-top:14px}
.history-card{grid-template-columns:50px minmax(0,1fr);gap:11px;padding:12px 14px}
.history-thumb{width:46px;height:46px;border-radius:8px}
.history-card__meta{gap:5px;margin-bottom:2px;font-size:11px}
.history-card .eyebrow{margin:2px 0;font-size:11px}
.history-card h2{margin:2px 0 5px;font-size:14px;line-height:1.3}
.history-card .timeline-change-comparison{margin-top:2px}
.history-card .change-value-boxes{gap:.4rem;margin-top:.25rem}
.history-card .change-value-box{padding:.45rem .6rem;border-radius:.55rem;font-size:12px}
.history-card .change-value-box small{font-size:10px}
.history-card .button--small{min-height:30px;padding:5px 9px;font-size:11px}

.alert-list{gap:8px}
.alert-card{grid-template-columns:auto 52px minmax(0,1fr);gap:10px;padding:12px 14px;border-radius:12px}
.alert-card .alert-select{align-self:start;margin-top:8px}
.alert-offer-thumbnail{width:52px;height:52px;border-radius:9px}
.alert-offer-thumbnail img{width:50px;height:50px}
.alert-card .card-heading{align-items:center;gap:10px;margin-bottom:4px}
.alert-card .card-heading small{font-size:11px;white-space:nowrap}
.alert-badges{gap:5px}
.alert-card .integration-source,.alert-card .badge{font-size:10px;padding:3px 7px}
.alert-product-action{margin:4px 0}
.alert-product-action .button--small{min-height:30px;padding:5px 9px;font-size:11px}
.alert-card h2{margin:2px 0;font-size:16px;line-height:1.25}
.alert-offer-title{margin:4px 0!important;font-size:13px;line-height:1.3}
.alert-change-text{margin:5px 0!important}
.alert-card .timeline-change-comparison{margin:4px 0}
.alert-card .change-value-boxes{gap:.4rem;margin-top:.25rem}
.alert-card .change-value-box{padding:.5rem .65rem;border-radius:.6rem;font-size:12px}
.alert-card .change-value-box small{font-size:10px}
.alert-card__links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:12px}
.alert-card__links .button,.alert-card__links button{min-height:30px;padding:5px 9px;font-size:11px}
.alert-group-card{padding:14px}
.grouped-offer-list{gap:5px}
.grouped-offer-item{padding:8px 0}
@media(max-width:680px){
  .history-card{grid-template-columns:42px minmax(0,1fr);padding:10px}.history-thumb{width:40px;height:40px}
  [data-alert-bulk-form] .alert-card{grid-template-columns:42px minmax(0,1fr);padding:10px}
  .alert-offer-thumbnail{width:42px;height:42px}.alert-offer-thumbnail img{width:40px;height:40px}
  .alert-card .change-value-boxes{display:grid}
}
\n\n/* 1.82.31 DEV — alerty w zwartym, tabelkowym układzie. */\n.alert-card{grid-template-columns:28px 46px minmax(0,1fr);gap:9px;padding:9px 12px;border-radius:10px;box-shadow:none}\n.alert-card .alert-select{display:grid;place-items:start center;margin:0;padding-top:13px}\n.alert-offer-thumbnail{width:44px;height:44px;border-radius:8px;align-self:start}\n.alert-offer-thumbnail img{width:42px;height:42px}\n.alert-card__main{min-width:0}\n.alert-card .card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 2px}\n.alert-card .card-heading>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}\n.alert-card .card-heading small{margin-left:auto;font-size:10px;color:var(--muted)}\n.alert-badges{display:inline-flex;gap:4px;flex-wrap:wrap}\n.alert-card .integration-source,.alert-card .badge{padding:2px 6px;font-size:9px}\n.alert-card .alert-change-kind{display:inline;margin:0;font-size:12px;line-height:1.2}\n.alert-card .alert-change-kind a{font-weight:850}\n.alert-offer-title{margin:1px 0 3px!important;font-size:12px;line-height:1.25;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.alert-card .timeline-change-comparison,.alert-card .alert-change-text{margin:2px 0!important}\n.alert-card .human-change-comparison{margin:0}\n.alert-card .change-value-boxes{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px;margin:0;align-items:center}\n.alert-card .change-value-box{padding:.35rem .5rem;border-radius:.45rem;font-size:11px;min-height:0}\n.alert-card .change-value-box small{font-size:8px;line-height:1.15}\n.alert-card .change-arrow{font-size:11px;text-align:center}\n.alert-card__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px;border-top:1px solid rgba(216,225,232,.72);padding-top:4px}\n.alert-card__account{margin:0!important;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.alert-card__links{margin:0;gap:5px;justify-content:flex-end}\n.alert-card__links .button,.alert-card__links button{min-height:26px;padding:3px 7px;font-size:9px;border-radius:7px}\n.alert-card__offer-link{font-size:10px;white-space:nowrap}\n.alert-card .alert-image-change{margin:2px 0;gap:5px}\n.alert-card .change-thumbnail{width:48px;height:48px}\n@media(max-width:820px){\n  .alert-card{grid-template-columns:26px 42px minmax(0,1fr)}\n  .alert-offer-thumbnail{width:40px;height:40px}.alert-offer-thumbnail img{width:38px;height:38px}\n  .alert-card .card-heading{align-items:flex-start}.alert-card .card-heading>div{gap:4px}\n  .alert-offer-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}\n  .alert-card__footer{align-items:flex-start;flex-direction:column}.alert-card__links{justify-content:flex-start}\n}\n@media(max-width:560px){\n  .alert-card{grid-template-columns:24px minmax(0,1fr)}\n  .alert-offer-thumbnail{display:none}\n  .alert-card .change-value-boxes{grid-template-columns:1fr}\n  .alert-card .change-arrow{transform:rotate(90deg)}\n}\n

/* 1.82.32 DEV — tryb oszczędzania danych. */
.data-saver-badge{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #7f1d1d;border-radius:999px;background:#7f1d1d;color:#fff;font-size:9px;font-weight:850;text-decoration:none;white-space:nowrap;box-shadow:0 0 0 1px rgba(127,29,29,.08)}
.data-saver-badge:visited{color:#fff}
.data-saver-badge:hover,.data-saver-badge:focus-visible{background:#641818;border-color:#641818;color:#fff}
.checkbox-field small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.35}


/* 1.82.36 DEV — wymuszony kontrast statusu oszczędzania danych w głównej nawigacji. */
.main-nav > a.data-saver-badge,.main-nav > a.data-saver-badge:visited{background:#7a1f1f!important;border-color:#651818!important;color:#fff!important;box-shadow:0 0 0 1px rgba(122,31,31,.16)!important}
.main-nav > a.data-saver-badge:hover,.main-nav > a.data-saver-badge:focus-visible{background:#5f1515!important;border-color:#4f1111!important;color:#fff!important}
.offer-create-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:8px}.offer-create-image{display:flex;flex-direction:column;gap:5px;align-items:center;padding:8px;border:1px solid var(--border-color,#d8e1e8);border-radius:12px;background:#fff}.offer-create-image img{width:84px;height:84px;object-fit:contain;border-radius:8px}.offer-create-image input{align-self:flex-start}.code-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
.offer-category-picker{display:grid;gap:10px}.offer-category-selected{padding:10px 12px;border:1px solid var(--border-color,#d8e1e8);border-radius:10px;background:var(--surface-muted,#f7f9fb);font-weight:600}.offer-category-results{display:grid;gap:6px;max-height:280px;overflow:auto}.offer-category-option{width:100%;text-align:left;border:1px solid var(--border-color,#d8e1e8);background:#fff;border-radius:9px;padding:9px 11px;cursor:pointer}.offer-category-option:hover{background:var(--surface-muted,#f7f9fb)}.offer-section-editor{display:grid;gap:12px}.offer-section-card{border:1px solid var(--border-color,#d8e1e8);border-radius:12px;padding:12px;background:var(--surface-muted,#f7f9fb)}.offer-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.offer-section-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.offer-section-item{background:#fff;border:1px solid var(--border-color,#d8e1e8);border-radius:10px;padding:10px}.offer-parameter-row{margin-bottom:8px}.offer-advanced-json{margin-top:10px}

/* 1.82.40 — kompaktowy kreator ofert */
.offer-create-card{padding:24px}.offer-create-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.offer-create-card__heading h2{font-size:22px}.offer-create-card__heading p{margin:5px 0 0;font-size:13px}.offer-draft-form{display:grid;gap:14px}.offer-form-section{padding:16px;border:1px solid var(--border);border-radius:13px;background:#fbfcfd}.offer-form-section__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.offer-form-section__heading strong{display:block;font-size:15px}.offer-form-section__heading small{display:block;margin-top:2px;color:var(--muted);font-size:11px;line-height:1.35}.offer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px 12px}.offer-form-grid--basics{grid-template-columns:repeat(3,minmax(0,1fr))}.offer-draft-form .field{align-self:start;gap:5px}.offer-draft-form .field--full{grid-column:1/-1}.offer-draft-form .field>span{font-size:12px}.offer-draft-form .styled-input,.offer-draft-form .styled-select,.offer-draft-form .field input{min-height:40px;padding:8px 10px;border-radius:8px;font-size:14px}.offer-draft-form .styled-textarea{padding:9px 10px;border-radius:8px;font-size:13px;line-height:1.45}.offer-draft-form .field small{font-size:11px;line-height:1.35}.offer-category-picker{gap:8px}.offer-category-selected{min-height:40px;padding:8px 10px;border-radius:8px;font-size:14px}.offer-category-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.offer-category-search .button{min-height:40px;padding:8px 14px}.offer-category-results{max-height:220px}.offer-category-option{padding:7px 9px;font-size:13px}.offer-parameters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:9px 12px}.offer-parameter-row{margin:0}.offer-advanced{margin-top:10px;border-top:1px solid var(--border);padding-top:8px}.offer-advanced summary{cursor:pointer;color:var(--muted);font-size:11px;font-weight:750}.offer-advanced .offer-advanced-json{width:100%;margin-top:8px}.offer-advanced small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.offer-section-editor{gap:8px}.offer-section-card{padding:10px;border-radius:10px}.offer-section-head{margin-bottom:8px}.offer-section-head strong{font-size:13px}.offer-section-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.offer-section-item{padding:8px;border-radius:8px}.offer-section-item .styled-textarea{min-height:92px}.offer-section-card>.button{margin-top:8px}.offer-create-images{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;margin-top:0}.offer-create-image{gap:3px;padding:6px;border-radius:9px;font-size:11px}.offer-create-image img{width:64px;height:64px;border-radius:6px}.offer-image-urls{margin-top:10px}.offer-form-actions{display:flex;justify-content:flex-end;padding-top:2px}.offer-publish-card{margin-top:16px;padding:22px}.offer-publish-card h2{font-size:21px}.offer-publish-card p{margin:8px 0;font-size:13px}.offer-publish-card .button{min-height:40px;padding:8px 14px}
@media(max-width:900px){.offer-form-grid--basics,.offer-parameters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-form-grid--basics .field--full{grid-column:1/-1}.offer-section-items{grid-template-columns:1fr}}
@media(max-width:680px){.offer-create-card{padding:18px}.offer-create-card__heading,.offer-form-section__heading{display:grid}.offer-form-section{padding:12px}.offer-form-grid,.offer-form-grid--basics,.offer-parameters-grid{grid-template-columns:1fr}.offer-draft-form .field--full,.offer-form-grid--basics .field--full{grid-column:auto}.offer-category-search{grid-template-columns:1fr}.offer-category-search .button{width:100%}.offer-create-images{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}.offer-form-actions .button{width:100%}.offer-publish-card{padding:18px}}

/* 1.82.41: produktyzacja Allegro w kreatorze oferty */
.offer-allegro-product-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 11px;margin-bottom:9px;border:1px solid var(--border);border-radius:9px;background:#fff}.offer-allegro-product-selected>div{display:grid;gap:2px;min-width:0}.offer-allegro-product-selected strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.offer-allegro-product-selected small{font-size:10px;color:var(--muted)}.offer-product-search-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(180px,.8fr) auto;gap:8px;align-items:end}.offer-product-search-action .button{min-height:40px;white-space:nowrap}.offer-product-results{display:grid;gap:6px;margin-top:9px;max-height:300px;overflow:auto}.offer-product-result{width:100%;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:#fff;text-align:left;cursor:pointer;color:inherit}.offer-product-result:hover{border-color:var(--primary);background:#f8fbff}.offer-product-result img,.offer-product-result__placeholder{width:46px;height:46px;border-radius:7px;object-fit:contain;background:#f3f5f7}.offer-product-result__placeholder{display:grid;place-items:center;padding:4px;font-size:8px;text-align:center;color:var(--muted)}.offer-product-result>span{display:grid;gap:2px;min-width:0}.offer-product-result strong{font-size:12px;line-height:1.25}.offer-product-result small{font-size:10px;color:var(--muted);line-height:1.25}.offer-product-result b{font-size:11px;color:var(--primary)}
@media(max-width:820px){.offer-product-search-grid{grid-template-columns:1fr 1fr}.offer-product-search-action{grid-column:1/-1}.offer-product-search-action .button{width:100%}}
@media(max-width:560px){.offer-product-search-grid{grid-template-columns:1fr}.offer-product-search-action{grid-column:auto}.offer-product-result{grid-template-columns:40px minmax(0,1fr)}.offer-product-result img,.offer-product-result__placeholder{width:40px;height:40px}.offer-product-result b{grid-column:2}}

/* 1.82.44 — karta produktu: porównanie kanałów, historia i zwarta lista produktów */
.product-list-table{table-layout:fixed;min-width:1020px;width:100%}
.product-list-table th:nth-child(1),.product-list-table td:nth-child(1){width:260px}
.product-list-table th:nth-child(2),.product-list-table td:nth-child(2){width:190px}
.product-list-table th:nth-child(3),.product-list-table td:nth-child(3){width:125px}
.product-list-table th:nth-child(4),.product-list-table td:nth-child(4){width:80px}
.product-list-table th:nth-child(5),.product-list-table td:nth-child(5),.product-list-table th:nth-child(6),.product-list-table td:nth-child(6){width:100px}
.product-list-table th:nth-child(7),.product-list-table td:nth-child(7){width:80px}
.product-list-table th:nth-child(8),.product-list-table td:nth-child(8){width:110px}
.product-list-item{display:flex;align-items:center;gap:12px;min-width:0}
.product-list-item__image{flex:0 0 56px}
.product-list-item__content{flex:1 1 auto;min-width:0;display:grid;gap:4px}
.product-list-item__name{display:-webkit-box;min-width:0;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.35;text-decoration:none;overflow-wrap:normal;word-break:normal}
.product-list-item__name strong{font-weight:700}
.product-list-item__content small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}

.product-channel-compare{overflow:hidden}
.product-channel-compare__summary{display:flex;align-items:center;gap:8px}
.product-channel-compare__scroll{margin-top:8px}
.product-channel-compare__table{min-width:760px;width:max-content;max-width:none}
.product-channel-compare__table th,.product-channel-compare__table td{min-width:180px;max-width:260px;padding:8px 10px;vertical-align:top}
.product-channel-compare__table thead th:first-child,.product-channel-compare__table tbody th{position:sticky;left:0;z-index:2;min-width:132px;max-width:132px;background:var(--surface)}
.product-channel-compare__table thead th{vertical-align:bottom}
.product-channel-compare__table thead th small{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:500}
.product-channel-compare__table tbody th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.product-channel-compare__table tbody th .badge{margin-left:5px;text-transform:none;letter-spacing:0;vertical-align:middle}
.product-compare-row--diff td,.product-compare-row--diff th{background:color-mix(in srgb,#f59e0b 8%,var(--surface))}
.product-compare-row--diff th{background:color-mix(in srgb,#f59e0b 12%,var(--surface))}
.product-compare-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.3;font-size:12px;font-weight:650;color:var(--text);text-decoration:none}
.product-compare-title:hover{text-decoration:underline}
.product-compare-muted{font-size:11px;color:var(--muted);line-height:1.35}
.product-channel-compare__edit-row td{vertical-align:middle}
.product-compare-editor{display:flex;gap:5px;flex-wrap:wrap}
.product-compare-editor .button{padding:5px 8px;font-size:10px}
.product-channel-compare__note{margin:10px 0 0;font-size:10px;line-height:1.4}

.product-history-card{padding-top:0;padding-bottom:0}
.product-history-card>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;list-style:none}
.product-history-card>details>summary::-webkit-details-marker{display:none}
.product-history-card>details>summary>span:first-child{display:grid;gap:2px}
.product-history-card>details>summary small{color:var(--muted);font-weight:400;font-size:10px}
.product-history-list{border-top:1px solid var(--border);padding:4px 0 12px}
.product-history-item{display:grid;grid-template-columns:12px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px solid var(--border)}
.product-history-item:last-child{border-bottom:0}
.product-history-item__dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--primary)}
.product-history-item__body{min-width:0;display:grid;gap:5px}
.product-history-item__heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.product-history-item__heading strong{font-size:12px}
.product-history-item__heading small{color:var(--muted);font-size:10px}
.product-history-item__change{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;font-size:11px}
.product-history-item__change span{min-width:0;padding:6px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface-soft);overflow-wrap:anywhere}
.product-history-item__change b{color:var(--muted)}
.product-history-item__meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px}
.product-history-item__meta small{color:var(--muted)}
.product-history-item__meta a{font-weight:650}
@media(max-width:760px){.product-channel-compare__table th,.product-channel-compare__table td{min-width:160px;max-width:210px}.product-channel-compare__table thead th:first-child,.product-channel-compare__table tbody th{min-width:112px;max-width:112px}.product-history-item__change{grid-template-columns:1fr}.product-history-item__change b{transform:rotate(90deg);justify-self:center}}

/* Zapamiętywane, domyślnie zwinięte panele centrum produktu. */
.product-channel-compare{padding-top:0;padding-bottom:0}
.product-workspace-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;list-style:none}
.product-workspace-summary::-webkit-details-marker{display:none}
.product-workspace-summary>span:first-child{display:grid;gap:2px;min-width:0}
.product-workspace-summary>span:first-child>small{color:var(--muted);font-weight:400;font-size:10px;line-height:1.35}
.product-workspace-collapsible-body{border-top:1px solid var(--border);padding:4px 0 12px}
@media(max-width:760px){.product-workspace-summary{align-items:flex-start}.product-channel-compare__summary{flex:0 0 auto}}


/* 1.82.46: aktywne oferty, AJAX historii i formularz edycji oferty */
.product-collapsible-card{padding-top:0;padding-bottom:0}.product-collapsible-card>details>summary{padding:14px 0}.product-collapsible-card .product-workspace-collapsible-body{border-top:1px solid var(--border);padding:12px 0 14px}.product-history-ajax.is-loading{opacity:.62;pointer-events:none}.product-history-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 2px;border-top:1px solid var(--border);font-size:11px}.product-history-pagination--single{justify-content:flex-end;color:var(--muted)}.offer-full-edit-form{display:grid;gap:16px}.offer-full-edit-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(130px,.8fr);gap:12px;align-items:start}.offer-full-edit-grid .field--wide{grid-column:span 2}.offer-full-edit-grid .field strong{display:block;padding:10px 0}.offer-full-edit-grid .field small{display:block;margin-top:4px;color:var(--muted)}@media(max-width:900px){.offer-full-edit-grid{grid-template-columns:1fr 1fr}.offer-full-edit-grid .field--wide{grid-column:1/-1}}@media(max-width:620px){.offer-full-edit-grid{grid-template-columns:1fr}.offer-full-edit-grid .field--wide{grid-column:auto}.product-history-pagination{flex-wrap:wrap}}

/* 1.82.47: pełniejsza edycja aktywnej oferty Allegro */
.offer-editor-page .app-container{max-width:1240px}.offer-editor-heading{align-items:flex-start}.offer-full-edit-form{display:grid;gap:16px}.offer-editor-card{margin:0}.offer-editor-basics{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,.55fr) minmax(140px,.55fr);gap:12px 14px;align-items:start}.offer-editor-basics .field{min-width:0}.offer-editor-title{grid-column:1 / 3}.offer-editor-readonly{padding:10px 12px;border:1px solid var(--border-color,#d9e2ec);border-radius:10px;background:var(--surface-muted,#f8fafc);min-height:70px}.offer-editor-readonly strong{display:block;margin-top:8px;line-height:1.35}.offer-editor-safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:start}.offer-editor-safety-text{grid-column:1/-1}.allegro-description-sections{display:grid;gap:12px}.allegro-description-section{border:1px solid var(--border-color,#d9e2ec);border-radius:12px;padding:12px;background:var(--surface,#fff)}.allegro-description-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.allegro-description-items{display:grid;grid-template-columns:1fr;gap:10px}.allegro-description-items.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}.allegro-description-item{min-width:0;border:1px solid rgba(148,163,184,.35);border-radius:10px;padding:10px;background:rgba(248,250,252,.68)}.styled-input--compact{min-height:36px;height:36px;padding:6px 10px;margin-bottom:8px}.allegro-wysiwyg{border:1px solid var(--border-color,#d9e2ec);border-radius:9px;overflow:hidden;background:#fff}.allegro-wysiwyg-toolbar{display:flex;gap:4px;flex-wrap:wrap;padding:6px;border-bottom:1px solid var(--border-color,#d9e2ec);background:#f8fafc}.allegro-wysiwyg-toolbar button{border:1px solid #d8e0e8;background:#fff;border-radius:6px;padding:5px 8px;font:inherit;font-size:12px;cursor:pointer}.allegro-wysiwyg-toolbar button:hover{background:#eef4f7}.allegro-wysiwyg-area{min-height:150px;padding:12px;outline:none;line-height:1.55;overflow-wrap:anywhere}.allegro-wysiwyg-area:focus{box-shadow:inset 0 0 0 2px rgba(18,105,92,.16)}.allegro-wysiwyg-area h1,.allegro-wysiwyg-area h2,.allegro-wysiwyg-area p,.allegro-wysiwyg-area ul,.allegro-wysiwyg-area ol{margin:.5em 0}.allegro-offer-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}.allegro-offer-image{border:1px solid var(--border-color,#d9e2ec);border-radius:10px;padding:8px;background:#fff;min-width:0}.allegro-offer-image img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:7px;background:#f8fafc}.allegro-offer-image-actions{display:flex;gap:4px;margin-top:7px;justify-content:center}.allegro-new-images{display:grid;gap:8px;margin-top:10px}.allegro-new-image-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.offer-editor-sticky-actions{position:sticky;bottom:10px;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;border:1px solid var(--border-color,#d9e2ec);border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 8px 30px rgba(15,23,42,.12);backdrop-filter:blur(8px)}.offer-editor-sticky-actions>div:first-child{display:grid;gap:2px}.offer-editor-sticky-actions small{color:var(--text-muted,#64748b)}.button--tiny{min-height:28px;padding:3px 7px;font-size:12px}.button--small{min-height:34px;padding:6px 10px;font-size:13px}
@media (max-width:900px){.offer-editor-basics{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-editor-title{grid-column:1/-1}.offer-editor-safety-grid{grid-template-columns:1fr}.offer-editor-safety-text{grid-column:auto}.allegro-description-items.is-two{grid-template-columns:1fr}.offer-editor-sticky-actions{position:static;align-items:flex-start;flex-direction:column}.offer-editor-sticky-actions .button-row{width:100%}}
@media (max-width:620px){.offer-editor-basics{grid-template-columns:1fr}.offer-editor-title{grid-column:auto}.allegro-offer-images{grid-template-columns:repeat(2,minmax(0,1fr))}.allegro-new-image-row{grid-template-columns:1fr}.offer-editor-sticky-actions .button-row{display:grid;grid-template-columns:1fr;width:100%}}
.allegro-new-image-row{grid-template-columns:minmax(0,1fr) auto auto}.allegro-new-image-ai{display:inline-flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap}
@media (max-width:620px){.allegro-new-image-row{grid-template-columns:1fr auto}.allegro-new-image-row .styled-input{grid-column:1/-1}}


/* 1.82.48 — układ pełnego edytora Allegro i biblioteka zdjęć */
.offer-editor-category{grid-column:1/-1;min-height:auto}.offer-editor-status{grid-column:1/3}.offer-image-upload-label{cursor:pointer}.offer-image-upload-status{min-height:20px;margin-top:8px}.offer-image-library{margin-top:14px;padding:12px;border:1px solid var(--border-color,#d9e2ec);border-radius:12px;background:#f8fafc}.offer-image-library-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.offer-image-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:9px;margin-top:10px}.offer-image-choice{display:grid;gap:6px;border:1px solid #d8e0e8;border-radius:10px;background:#fff;padding:7px;cursor:pointer;text-align:left;color:inherit}.offer-image-choice:hover{border-color:#7aa99f;box-shadow:0 2px 10px rgba(15,23,42,.08)}.offer-image-choice img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:7px;background:#f8fafc}.offer-image-choice span{font-size:11px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.allegro-description-image-picker{display:grid;gap:7px}.description-image-preview{min-height:150px;border:1px dashed #b8c6d3;border-radius:10px;background:#fff;display:grid;place-items:center;gap:6px;padding:8px;cursor:pointer;color:inherit}.description-image-preview img{display:block;max-width:100%;height:120px;object-fit:contain}.description-image-preview span{font-size:12px;color:var(--text-muted,#64748b)}
@media(max-width:900px){.offer-editor-status{grid-column:auto}.offer-image-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.offer-editor-category,.offer-editor-status{grid-column:auto}.offer-image-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.82.49 — stabilny model sekcji opisu i sticky dodawania */
.offer-description-addbar{position:sticky;top:72px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 10px;border:1px solid var(--border-color,#d9e2ec);border-radius:10px;background:rgba(255,255,255,.97);box-shadow:0 4px 14px rgba(15,23,42,.08);backdrop-filter:blur(7px)}
.offer-description-addbar>span{display:grid;gap:1px}.offer-description-addbar>span small{color:var(--text-muted,#64748b);font-size:11px;font-weight:400}
.allegro-description-fixed-type{min-height:36px;display:flex;align-items:center;padding:6px 10px;margin-bottom:8px;border:1px solid var(--border-color,#d9e2ec);border-radius:8px;background:#f8fafc;font-size:13px;font-weight:700}
.allegro-description-image-picker[hidden],.allegro-wysiwyg[hidden]{display:none!important}
.offer-editor-parameter-preview{margin-top:14px;border-top:1px solid var(--border-color,#d9e2ec);padding-top:10px}.offer-editor-parameter-heading{display:flex;align-items:center;gap:6px;font-weight:750;font-size:13px}.offer-editor-parameter-heading .badge{margin-left:1px}.offer-editor-parameter-preview>.muted{margin:8px 0 10px}
.offer-editor-parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.offer-editor-parameter-row{display:grid;grid-template-columns:62px minmax(120px,.8fr) minmax(0,1fr);gap:8px;align-items:center;padding:7px 9px;border:1px solid var(--border-color,#d9e2ec);border-radius:8px;background:#f8fafc;font-size:11px}.offer-editor-parameter-row small{color:var(--text-muted,#64748b)}.offer-editor-parameter-row span{overflow-wrap:anywhere}
@media(max-width:900px){.offer-description-addbar{top:62px;align-items:flex-start}.offer-editor-parameter-grid{grid-template-columns:1fr}}
@media(max-width:620px){.offer-description-addbar{top:54px;flex-direction:column}.offer-description-addbar .button-row{width:100%;display:grid;grid-template-columns:1fr 1fr}.offer-editor-parameter-row{grid-template-columns:1fr}.offer-editor-parameter-row small{font-size:10px}}
/* 1.82.51 — edycja parametrów Allegro */
.offer-editor-parameter-row--editable{grid-template-columns:72px minmax(140px,.75fr) minmax(180px,1fr)}
.offer-editor-parameter-row--editable .styled-input{min-width:0;width:100%;font-size:12px;padding:7px 9px}
.offer-parameter-range{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.offer-parameter-values{resize:vertical;min-height:34px}
@media(max-width:620px){.offer-editor-parameter-row--editable{grid-template-columns:1fr}.offer-parameter-range{grid-template-columns:1fr 1fr}}

/* 1.82.52: modal biblioteki zdjęć + czytelny nagłówek źródła edycji */
.offer-editor-integration-title{margin:0 0 5px;font-size:clamp(1.05rem,1.9vw,1.35rem);font-weight:900;letter-spacing:.035em;color:var(--text,#0f172a);text-transform:none}
.offer-image-library-modal[hidden]{display:none!important}
.offer-image-library-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:24px}
.offer-image-library-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.68);cursor:pointer}
.offer-image-library-dialog{position:relative;z-index:1;width:min(1050px,calc(100vw - 48px));max-height:min(82vh,860px);overflow:auto;padding:18px;border:1px solid rgba(255,255,255,.55);border-radius:16px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.34)}
.offer-image-library-head{position:sticky;top:-18px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-18px -18px 10px;padding:16px 18px 12px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border-color,#d9e2ec);backdrop-filter:blur(8px)}
.offer-image-library-head strong{font-size:1.15rem}
.offer-image-library-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:999px;background:#eef2f6;color:#0f172a;font-size:27px;line-height:1;cursor:pointer}
.offer-image-library-close:hover{background:#e2e8f0}
.offer-image-library-modal .offer-image-library-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));margin-top:12px}
@media(max-width:620px){.offer-image-library-modal{padding:8px}.offer-image-library-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:14px;border-radius:13px}.offer-image-library-head{top:-14px;margin:-14px -14px 8px;padding:12px 14px 10px}.offer-image-library-modal .offer-image-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* 1.82.54: kompaktowy układ podstawowych danych edycji oferty; Cena i Stan w osobnych wierszach */
.offer-editor-basics{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px}
.offer-editor-title,.offer-editor-reference,.offer-editor-category,.offer-editor-status{grid-column:1/-1}
.offer-editor-readonly{min-height:auto;padding:9px 12px}
.offer-editor-readonly strong{margin-top:5px}
.offer-editor-metric{grid-column:span 1;min-width:0}
.offer-editor-metric>span{display:block;font-weight:850;margin-bottom:5px}
.offer-editor-metric .styled-input{font-weight:850;font-size:1rem}
.offer-editor-price{grid-column:1/span 1}
.offer-editor-stock{grid-column:1/span 1}
@media(max-width:900px){.offer-editor-basics{grid-template-columns:repeat(4,minmax(0,1fr))}.offer-editor-title,.offer-editor-reference,.offer-editor-category,.offer-editor-status{grid-column:1/-1}.offer-editor-price{grid-column:1/span 1}.offer-editor-stock{grid-column:1/span 1}}
@media(max-width:620px){.offer-editor-basics{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-editor-title,.offer-editor-reference,.offer-editor-category,.offer-editor-status{grid-column:1/-1}.offer-editor-price{grid-column:1}.offer-editor-stock{grid-column:1}}

/* 1.82.56 DEV — czytelne źródło oferty w Ctrl+K + wyszukiwarka nad mobilnym menu */
.global-search__platform{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:900;line-height:1.45;letter-spacing:.035em;text-transform:uppercase;background:#eef2f7;color:#415166;border:1px solid rgba(65,81,102,.13)}
.global-search__platform--allegro{background:#fff0e8;color:#b23c08;border-color:#ffd2bd}
.global-search__platform--erli{background:#eee9ff;color:#5b3bb7;border-color:#d9ceff}
.global-search__platform--prestashop{background:#e8f8fb;color:#08798c;border-color:#bfeaf1}
.global-search__platform--shop,.global-search__platform--store{background:#e9f6ef;color:#176b5b;border-color:#c9e7d8}
.global-search__account{font-weight:750;color:var(--text)}
@media(max-width:720px){.global-search{z-index:5000;padding:12px}.global-search__dialog{width:100%;max-height:calc(100dvh - 24px)}.global-search__results{max-height:calc(100dvh - 150px)}}
/* v1.82.58: rozszerzona edycja produktu PrestaShop */
.prestashop-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prestashop-editor-wide{grid-column:1/-1}.prestashop-editor-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.prestashop-editor-images img{width:100%;aspect-ratio:1/1;object-fit:contain;border:1px solid var(--border);border-radius:10px;background:#fff}.prestashop-html-source{font-family:inherit;line-height:1.5;resize:vertical}@media(max-width:760px){.prestashop-editor-grid{grid-template-columns:1fr}.prestashop-editor-wide{grid-column:auto}}

/* 1.82.60: wizualny edytor opisów PrestaShop. */
.prestashop-rich-field{display:block;margin-bottom:16px}.prestashop-wysiwyg{border:1px solid var(--border);border-radius:12px;background:var(--surface,#fff);overflow:hidden}.prestashop-wysiwyg-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;border-bottom:1px solid var(--border);background:var(--surface-soft,#f7f9fb);position:sticky;top:0;z-index:1}.prestashop-wysiwyg-toolbar button{appearance:none;border:1px solid var(--border);border-radius:7px;background:var(--surface,#fff);padding:6px 9px;min-height:32px;font:inherit;font-size:13px;cursor:pointer}.prestashop-wysiwyg-toolbar button:hover,.prestashop-wysiwyg-toolbar button:focus-visible{border-color:var(--primary);outline:none}.prestashop-wysiwyg-area{min-height:150px;padding:14px 16px;line-height:1.55;outline:none;overflow:auto}.prestashop-rich-field:nth-of-type(2) .prestashop-wysiwyg-area{min-height:290px}.prestashop-wysiwyg-area:focus{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--primary) 20%,transparent)}.prestashop-wysiwyg-area p:first-child,.prestashop-wysiwyg-area h2:first-child,.prestashop-wysiwyg-area h3:first-child{margin-top:0}.prestashop-wysiwyg-area p:last-child,.prestashop-wysiwyg-area ul:last-child,.prestashop-wysiwyg-area ol:last-child{margin-bottom:0}@media(max-width:760px){.prestashop-wysiwyg-toolbar{position:static}.prestashop-wysiwyg-toolbar button{padding:6px 8px}.prestashop-wysiwyg-area{min-height:180px}}


/* 1.82.62 DEV — PrestaShop: spójny select, edycja galerii i cen specyficznych. */
.offer-full-edit-form select.styled-input,.offer-full-edit-form .styled-select{
    appearance:none;
    -webkit-appearance:none;
    background-color:var(--surface,#fff);
    background-image:linear-gradient(45deg,transparent 50%,#667085 50%),linear-gradient(135deg,#667085 50%,transparent 50%);
    background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;
    background-size:5px 5px,5px 5px;
    background-repeat:no-repeat;
    padding-right:34px;
}
.prestashop-editor-images--editable{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}
.prestashop-image-card{display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid var(--border);border-radius:12px;background:var(--surface,#fff);cursor:pointer}
.prestashop-image-card img{width:100%;aspect-ratio:1/1;object-fit:contain;border:0;border-radius:8px;background:#fff}
.prestashop-image-card span{display:flex;align-items:center;gap:7px;font-weight:750;font-size:12px}
.prestashop-image-card small{color:var(--muted)}
.prestashop-image-actions{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:16px;margin-top:16px;align-items:start}
.prestashop-related-images{display:block}
.prestashop-related-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:9px;margin-top:7px}
.prestashop-related-image{position:relative;display:flex;flex-direction:column;gap:6px;padding:7px;border:1px solid var(--border);border-radius:10px;background:var(--surface,#fff);cursor:pointer}
.prestashop-related-image input{position:absolute;top:8px;left:8px;z-index:1}
.prestashop-related-image img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:7px;background:#fff}
.prestashop-related-image span{font-size:11px;line-height:1.25;color:var(--muted)}
.prestashop-specific-prices{display:grid;gap:12px}
.prestashop-specific-price-card{border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface,#fff)}
.prestashop-specific-price-card legend{padding:0 6px;font-weight:850}
.prestashop-specific-price-scope{margin-bottom:10px;color:var(--muted)}
.prestashop-specific-tax{justify-content:flex-end}
.prestashop-specific-tax>span{display:flex;align-items:center;gap:8px;min-height:44px}
@media(max-width:760px){.prestashop-image-actions{grid-template-columns:1fr}.prestashop-related-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.82.63 DEV — kompaktowa edycja PrestaShop, biblioteka zdjęć cross-channel i zwijane ceny specyficzne. */
.prestashop-related-images-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.prestashop-related-images-head>span{font-weight:800}.prestashop-related-images-head small{white-space:nowrap}
.prestashop-related-image-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:8px}
.prestashop-related-image{gap:5px;padding:6px;min-width:0;overflow:hidden}
.prestashop-related-image .prestashop-related-image-check{position:absolute;top:7px;left:7px;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0;padding:0;accent-color:var(--primary,#176b5b)}
.prestashop-related-image img{aspect-ratio:1/1;height:92px;object-fit:contain}
.prestashop-related-image-title{display:block;font-size:10.5px!important;line-height:1.2!important;color:var(--text)!important;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prestashop-related-image small{font-size:10px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.integration-mini-badge{position:absolute;right:6px;top:6px;z-index:1;display:inline-flex;align-items:center;max-width:78px;padding:2px 6px;border-radius:999px;font-size:9px;font-weight:850;line-height:1.2;letter-spacing:.02em;background:#eef2f6;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.integration-mini-badge--allegro{background:#fff0e8;color:#b93815}.integration-mini-badge--erli{background:#eef4ff;color:#3538cd}.integration-mini-badge--prestashop{background:#eaf8f7;color:#087f75}

.prestashop-specific-prices-card-wrap{padding:0!important;overflow:hidden}
.prestashop-specific-prices-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;user-select:none}
.prestashop-specific-prices-panel>summary::-webkit-details-marker{display:none}.prestashop-specific-prices-panel>summary>span:first-child{display:flex;align-items:baseline;gap:10px}.prestashop-specific-prices-panel>summary strong{font-size:16px}.prestashop-specific-prices-panel>summary small{color:var(--muted);font-weight:650}
.prestashop-details-chevron{font-size:20px;line-height:1;transition:transform .16s ease}.prestashop-specific-prices-panel[open] .prestashop-details-chevron{transform:rotate(180deg)}
.prestashop-specific-prices-body{padding:0 14px 14px;border-top:1px solid var(--border)}.prestashop-specific-prices-body>.muted{margin:10px 0}
.prestashop-specific-prices{gap:8px}.prestashop-specific-price-card{padding:9px 10px;border-radius:10px}.prestashop-specific-price-card legend{font-size:13px}.prestashop-specific-price-scope{margin-bottom:7px}.prestashop-specific-price-scope small{font-size:10.5px;line-height:1.25}
.prestashop-specific-price-card .prestashop-editor-grid{grid-template-columns:minmax(150px,1.1fr) 90px 120px 105px minmax(145px,.9fr) minmax(145px,.9fr);gap:7px 9px;align-items:end}
.prestashop-specific-price-card .field{gap:4px;margin:0}.prestashop-specific-price-card .field>span{font-size:11px;font-weight:760}.prestashop-specific-price-card .styled-input{min-height:36px!important;height:36px;padding:6px 9px!important;font-size:13px!important;border-radius:8px}.prestashop-specific-price-card textarea.styled-input{height:auto}.prestashop-specific-price-card .field small{font-size:9.5px;line-height:1.15}
.prestashop-specific-price-card .prestashop-specific-tax{grid-column:1/-1;justify-content:flex-start}.prestashop-specific-price-card .prestashop-specific-tax>span{min-height:24px;font-size:11px}.prestashop-specific-price-card .prestashop-specific-tax input[type="checkbox"]{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0;padding:0}

@media(max-width:1200px){.prestashop-specific-price-card .prestashop-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.prestashop-related-images-head{align-items:flex-start;flex-direction:column}.prestashop-related-image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.prestashop-specific-price-card .prestashop-editor-grid{grid-template-columns:1fr 1fr}.prestashop-specific-prices-panel>summary{padding:12px}.prestashop-specific-prices-body{padding:0 10px 10px}}
@media(max-width:480px){.prestashop-related-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prestashop-specific-price-card .prestashop-editor-grid{grid-template-columns:1fr}}

/* 1.82.65: rozszerzona edycja ERLI. */
.erli-frozen-note{display:block;margin-top:5px;color:#9a5b00;font-size:11px;font-weight:750;line-height:1.3}.erli-frozen-summary{margin-bottom:14px}.erli-readonly-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.erli-readonly-wide{grid-column:1/-1}.erli-attribute-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px;margin-top:5px}.erli-attribute-list>span{display:block;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft,#f7f9fb);font-size:12px;line-height:1.35}.erli-attribute-list b{display:block;margin-bottom:2px;font-size:11px}.erli-mapping-card code,.erli-frozen-summary code{font-size:.92em}@media(max-width:760px){.erli-readonly-grid{grid-template-columns:1fr}.erli-readonly-wide{grid-column:auto}.erli-attribute-list{grid-template-columns:1fr}}

/* 1.82.68: bezpieczna edycja istniejących externalAttributes ERLI. */
.erli-external-attributes{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.erli-external-attributes-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.erli-external-attributes-heading>div,.erli-external-attributes-heading strong{min-width:0}.erli-external-attributes-heading small{color:var(--muted);font-size:11px}
.erli-external-attribute-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.erli-external-attribute{min-width:0;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft,#f7f9fb)}
.erli-external-attribute--readonly{opacity:.82}
.erli-external-attribute-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
.erli-external-attribute-title strong{display:block;font-size:12px;line-height:1.25}.erli-external-attribute-title small{display:block;margin-top:2px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.02em}
.erli-external-attribute-title code{flex:none;max-width:44%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.erli-external-attribute .field{gap:4px}.erli-external-attribute .field>span{font-size:10px}.erli-external-attribute .styled-input{min-height:34px;padding-top:6px;padding-bottom:6px;font-size:12px}
.erli-attribute-value-row{display:grid;grid-template-columns:minmax(120px,.72fr) minmax(150px,1.28fr);gap:7px;align-items:end}
.erli-external-attribute .offer-editor-readonly{padding:6px 8px;border-radius:8px}.erli-external-attribute .offer-editor-readonly strong{font-size:12px}.erli-external-attribute .offer-editor-readonly small{font-size:10px}
@media(max-width:900px){.erli-external-attribute-grid{grid-template-columns:1fr}}
@media(max-width:620px){.erli-external-attributes-heading{align-items:flex-start;flex-direction:column}.erli-attribute-value-row{grid-template-columns:1fr}}

/* 1.82.69: czytelne i kompaktowe parametry ERLI nad opisem. */
.erli-parameters-card{padding-bottom:14px}
.erli-parameter-resolution-status{display:flex;align-items:flex-start;gap:8px;margin:0 0 10px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft,#f7f9fb);font-size:11px;line-height:1.35}
.erli-parameter-resolution-status strong{flex:none;font-size:11px}.erli-parameter-resolution-status span{color:var(--muted)}
.erli-parameter-resolution-status.is-ok strong{color:#137a55}
.erli-parameter-summary{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.erli-parameter-summary>span{padding:4px 7px;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft,#f7f9fb);font-size:10px;color:var(--muted)}
.erli-parameter-summary b{color:var(--text);font-size:11px}
.erli-parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.erli-parameter{min-width:0;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft,#f7f9fb)}
.erli-parameter.is-recognized{background:var(--surface,#fff)}.erli-parameter.is-readonly{opacity:.78}
.erli-parameter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;margin-bottom:6px}
.erli-parameter-head>div{min-width:0}.erli-parameter-head strong{display:block;font-size:12px;line-height:1.22;overflow-wrap:anywhere}.erli-parameter-head small{display:block;margin-top:1px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.03em}
.erli-parameter-id{flex:none;max-width:38%;padding-top:1px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.erli-parameter-field{gap:3px}.erli-parameter-field>span{font-size:9px}.erli-parameter-field .styled-input{min-height:31px;padding:5px 8px;font-size:11px;border-radius:8px}
.erli-parameter-field select[multiple]{min-height:76px;padding:3px}.erli-parameter-field select[multiple] option{padding:3px 5px}
.erli-parameter-field small,.erli-parameter>.muted{font-size:9px;line-height:1.25}
.erli-parameter-dictionary-fallback{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:end}.erli-parameter-current-label{display:block;padding:7px 8px;border:1px solid var(--border);border-radius:8px;font-size:11px;background:var(--surface,#fff)}
@media(max-width:1100px){.erli-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.erli-parameter-grid{grid-template-columns:1fr}.erli-parameter-resolution-status{flex-direction:column}.erli-parameter-dictionary-fallback{grid-template-columns:1fr}}

/* 1.82.72: wspólne akcje na kanałach produktu. */
.product-channel-sync__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-channel-sync__item{display:grid;align-content:start;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle,#fafbfc)}.product-channel-sync__item .button{width:100%}@media(max-width:900px){.product-channel-sync__grid{grid-template-columns:1fr}}

/* 1.82.74: dashboard zdrowia integracji. */
.dashboard-integration-health{margin:18px 0}.dashboard-integration-health__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-integration-health__card{display:grid;gap:9px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface,#fff)}.dashboard-integration-health__card.is-warning{border-color:#e4b4a6}.dashboard-integration-health__card.is-info{border-color:#d9c98b}.dashboard-integration-health__head{display:flex;justify-content:space-between;gap:8px;align-items:center}.dashboard-integration-health__card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0}.dashboard-integration-health__card dl div{padding:7px;border-radius:8px;background:var(--surface-subtle,#f7f8fa)}.dashboard-integration-health__card dt{font-size:10px;color:var(--muted)}.dashboard-integration-health__card dd{margin:2px 0 0;font-weight:800}.dashboard-integration-health__error{margin:0;font-size:11px;color:var(--danger,#a33)}@media(max-width:1000px){.dashboard-integration-health__grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.dashboard-integration-health__grid{grid-template-columns:1fr}}


/* 1.82.82 DEV — czytelny stan rozłączonych integracji. */
.integration-connections-table tr.integration-connection--disconnected > td { background: rgba(180, 35, 24, .035); }
.integration-disconnected-note { display:block; margin-top:.35rem; max-width:34rem; }
.dashboard-disconnected-notice { margin-bottom:1rem; }

/* Orders module 1.82.83 */
.orders-page{display:grid;gap:16px}.section-heading--actions{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.order-alert-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-alert-strip a{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--border-color,#d7dfdc);border-radius:12px;background:var(--surface,#fff);text-decoration:none;color:inherit}.order-alert-strip span,.order-table small,.order-file-row small,.order-status-main small{display:block;color:var(--muted,#64748b);font-size:.82rem;margin-top:3px}.order-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(140px,1fr));gap:10px;align-items:end}.order-filters label,.order-add-item label{display:grid;gap:5px}.order-table td{vertical-align:top}.order-number{font-weight:700}.order-row--attention{box-shadow:inset 4px 0 0 #dc2626}.order-status-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid color-mix(in srgb,var(--order-status-color) 55%,#fff);background:color-mix(in srgb,var(--order-status-color) 10%,#fff);color:var(--order-status-color);padding:4px 9px;border-radius:999px;font-weight:700;font-size:.82rem}.order-status-config{display:grid;grid-template-columns:2fr 1fr;gap:24px}.order-status-list{display:grid;gap:8px;padding-left:0;list-style:none}.order-status-list li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--border-color,#e5e7eb)}.order-mapping-config{margin-top:18px}.mapping-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.mapping-list span{padding:6px 9px;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;font-size:.82rem}.order-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.order-summary-grid .content-card{display:grid;gap:8px}.order-status-main{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.order-status-form{display:grid;gap:8px}.order-source-card{display:flex;justify-content:space-between;gap:16px;align-items:center;border-style:dashed}.order-items-table input[type=number]{width:90px}.order-qty-form{display:flex;gap:6px;align-items:center}.order-item--removed{opacity:.65}.order-item--removed td:first-child strong,.order-item--removed td:nth-child(4) strong{text-decoration:line-through}.order-change-note{display:block;color:#b45309}.order-add-item{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color,#e5e7eb)}.order-product-results{display:grid;gap:6px;margin-top:8px;max-height:320px;overflow:auto}.order-product-result{display:grid;text-align:left;gap:3px;width:100%;padding:10px;border:1px solid var(--border-color,#d7dfdc);border-radius:10px;background:var(--surface,#fff);cursor:pointer}.order-product-result:hover{border-color:#176b5b}.order-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compact-dl{display:grid;gap:8px}.compact-dl div{display:grid;grid-template-columns:120px 1fr;gap:10px}.compact-dl dt{color:var(--muted,#64748b)}.order-file-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--border-color,#e5e7eb)}.order-upload-form{margin-top:14px}.order-history{display:grid}.order-history__row{display:grid;grid-template-columns:170px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--border-color,#e5e7eb)}.order-history__row time{color:var(--muted,#64748b);font-size:.82rem}.order-history__row small{display:block;color:var(--muted,#64748b)}.order-ajax-message{position:fixed;right:18px;bottom:18px;z-index:1000;max-width:420px;padding:12px 16px;border-radius:10px;background:#166534;color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.18)}.order-ajax-message[data-kind=error]{background:#b91c1c}.form-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid__wide{grid-column:1/-1}.checkbox-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}@media(max-width:1100px){.order-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.section-heading--actions,.order-source-card{flex-direction:column}.order-alert-strip,.order-summary-grid,.order-two-columns,.order-status-config,.order-filters,.form-grid--2,.form-grid--4{grid-template-columns:1fr}.order-history__row{grid-template-columns:1fr;gap:3px}.compact-dl div{grid-template-columns:1fr}.form-grid__wide{grid-column:auto}}

/* Orders 1.82.85 — primary OMS layout */
.order-overview-grid{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(220px,1fr) minmax(210px,.9fr) minmax(210px,.9fr);gap:12px}.order-overview-grid>.content-card{display:grid;align-content:start;gap:8px;min-width:0}.order-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:14px;align-items:start}.order-main-column,.order-side-column{display:grid;gap:14px;min-width:0}.order-side-column{position:sticky;top:78px}.order-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.order-card-heading h2{margin:2px 0 0}.order-customer-card .compact-dl div{grid-template-columns:95px minmax(0,1fr)}.order-shipment-card .form-grid--2{grid-template-columns:1fr}.order-shipment-card .order-upload-form{display:grid;gap:10px}.order-secondary-grid{align-items:start}.order-items-card{min-width:0}.order-items-table{min-width:980px}.order-create-form{display:grid;gap:18px}.order-form-section{display:grid;gap:12px;border:0;padding:0;margin:0}.order-form-section+ .order-form-section{border-top:1px solid var(--border-color,#e5e7eb);padding-top:16px}.order-form-section legend{font-weight:700;font-size:.92rem;padding:0;margin:0 0 8px}.form-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.order-create-actions{justify-content:flex-end}.order-create-card textarea{width:100%;resize:vertical}.order-create-card input,.order-create-card select,.order-create-card textarea,.order-shipment-card input,.order-shipment-card select{min-width:0}.order-history-card{margin-top:0}@media(max-width:1280px){.order-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-main-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr)}}@media(max-width:980px){.order-main-grid{grid-template-columns:1fr}.order-side-column{position:static}.form-grid--3{grid-template-columns:1fr 1fr}}@media(max-width:720px){.order-overview-grid,.form-grid--3{grid-template-columns:1fr}.order-create-actions{justify-content:stretch}.order-create-actions .button{width:100%}}

/* 1.82.86 DEV — Zamówienia: spójne selecty, instrukcja mapowania i pobieranie per integracja. */
.orders-page select,.order-detail select,.order-mapping-config select{appearance:none;-webkit-appearance:none;width:100%;min-height:40px;padding:8px 34px 8px 10px;border:1px solid var(--border-color,#d8e1e8);border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.9 6 5.5 10.6.9 12 2.3l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 11px center;background-size:10px 7px;color:var(--text,#1f2937);font:inherit;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:border-color .15s,box-shadow .15s}.orders-page select:focus,.order-detail select:focus,.order-mapping-config select:focus{outline:0;border-color:var(--primary,#2563eb);box-shadow:0 0 0 3px rgba(37,99,235,.12)}.order-mapping-help{margin:10px 0 14px;padding:12px 14px;border:1px solid var(--border-color,#d8e1e8);border-radius:10px;background:var(--surface-muted,#f8fafc);font-size:12px;line-height:1.5}.order-mapping-help p{margin:0 0 8px}.order-mapping-help ol{margin:6px 0 8px;padding-left:20px}.order-import-toggle{display:grid;gap:4px;margin-top:8px}.order-import-toggle small{max-width:430px;line-height:1.35}.text-danger{color:#b91c1c}

/* 1.82.88 DEV — compact Orders workspace + z-index settings */
.orders-page--compact{max-width:none;margin:0;padding-inline:10px}.orders-page--compact .section-heading{margin-bottom:10px}.orders-page--compact .section-heading h1{margin-bottom:2px}.orders-page--compact .section-heading p{margin:2px 0 0}.orders-toolbar__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.orders-workspace-card{padding:12px}.order-alert-strip--compact{gap:8px;margin-bottom:10px}.order-alert-strip--compact a{padding:9px 12px;min-height:0}.order-alert-strip--compact span{font-size:12px}.order-filters--compact{display:grid;grid-template-columns:minmax(260px,2.2fr) repeat(4,minmax(120px,1fr)) auto;gap:8px;align-items:end;margin-bottom:10px}.order-filters--compact label{gap:3px}.order-filters--compact label>span{font-size:11px}.order-filters--compact input,.order-filters--compact select{min-height:34px;padding:6px 9px;font-size:13px}.order-filter-actions{gap:5px;white-space:nowrap}.order-table--compact th,.order-table--compact td{padding:7px 8px;font-size:12px;line-height:1.25}.order-table--compact small{display:block;margin-top:2px;font-size:10px;line-height:1.2}.order-table--compact .badge,.order-table--compact .order-status-pill{font-size:10px;padding:3px 6px}.orders-table-wrap{margin-inline:-2px}
body.order-modal-open{overflow:hidden}.order-modal[hidden]{display:none!important}.order-modal{position:fixed;inset:0;z-index:2100;display:flex;justify-content:flex-end}.order-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(1px)}.order-modal__panel{position:relative;z-index:1;height:100%;width:min(960px,94vw);background:#fff;box-shadow:-18px 0 50px rgba(15,23,42,.2);display:flex;flex-direction:column;overflow:hidden}.order-modal__panel--medium{width:min(820px,94vw)}.order-modal__panel--wide{width:min(1180px,96vw)}.order-modal__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e5e7eb}.order-modal__header h2{margin:2px 0 0}.order-modal__close{border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;padding:2px 8px;color:#475569}.order-modal__body{padding:16px 18px 24px;overflow:auto}.order-settings-tabs{display:flex;gap:4px;padding:8px 18px 0;border-bottom:1px solid #e5e7eb}.order-settings-tabs button{border:0;background:transparent;padding:10px 12px;border-bottom:2px solid transparent;font-weight:700;cursor:pointer;color:#64748b}.order-settings-tabs button.is-active{color:#0f766e;border-bottom-color:#0f766e}.order-settings-section-heading{margin-bottom:12px}.order-settings-section-heading h3{margin:0 0 3px}.order-settings-section-heading p{margin:0;color:#64748b}.order-settings-table th,.order-settings-table td{padding:8px;font-size:12px}.order-settings-table small{display:block;margin-top:2px}.order-settings-divider{height:1px;background:#e5e7eb;margin:18px 0}.order-status-config--modal{margin-top:4px}.order-form-block{padding:14px 0;border-top:1px solid #e5e7eb}.order-form-block:first-of-type{border-top:0;padding-top:4px}.order-form-block h3{margin:0 0 10px;font-size:15px}.order-create-form--single-card fieldset{border:0;padding:0}
.order-detail--single-card{padding-inline:10px}.order-document-card{padding:0;overflow:hidden}.order-document-section{padding:15px 18px;border-top:1px solid #e5e7eb}.order-document-section:first-child{border-top:0}.order-document-summary{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.order-document-summary h2{margin:2px 0 4px}.order-summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr));gap:8px;min-width:min(650px,68%)}.order-summary-metrics>div{padding:8px 10px;background:#f8fafc;border-radius:8px}.order-summary-metrics span{display:block;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}.order-summary-metrics strong{font-size:13px}.order-section-title{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:9px}.order-section-title h3{margin:0;font-size:15px}.order-section-title p{margin:0;color:#64748b;font-size:11px}.order-controls-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:12px}.order-controls-grid form{display:flex;align-items:end;gap:8px}.order-controls-grid label{flex:1}.order-customer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.order-note{margin:10px 0 0;padding-top:10px;border-top:1px dashed #e5e7eb}.order-document-card .order-items-table th,.order-document-card .order-items-table td{padding:7px 8px;font-size:12px}.order-document-card .form-grid{gap:8px}.order-document-card input,.order-document-card select,.order-document-card textarea{min-height:34px;padding:6px 9px}.order-document-card .order-file-row{padding:7px 0}.order-document-card .order-history__row{padding:7px 0}
@media(max-width:1180px){.order-filters--compact{grid-template-columns:minmax(230px,2fr) repeat(2,minmax(140px,1fr));}.order-filter-actions{grid-column:auto}.order-summary-metrics{min-width:0;width:100%;grid-template-columns:repeat(2,1fr)}.order-document-summary{flex-direction:column}.order-controls-grid{grid-template-columns:1fr}.order-customer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.orders-page--compact,.order-detail--single-card{padding-inline:4px}.orders-toolbar{align-items:flex-start}.orders-toolbar__actions{width:100%}.orders-toolbar__actions .button{flex:1}.order-filters--compact{grid-template-columns:1fr}.order-filter-actions{display:flex}.order-modal__panel,.order-modal__panel--medium,.order-modal__panel--wide{width:100vw}.order-modal__header{padding:12px}.order-modal__body{padding:12px}.order-settings-tabs{overflow:auto;padding-inline:12px}.order-document-section{padding:12px}.order-summary-metrics{grid-template-columns:1fr 1fr}.order-customer-grid{grid-template-columns:1fr}.order-controls-grid form{align-items:stretch;flex-direction:column}.order-section-title{display:block}.order-section-title p{margin-top:3px}}

/* 1.82.89 DEV — statusy zamówień i ręczny klient */
.order-customer-type-tabs{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--border-color,#dbe3e0);border-radius:10px;background:#f8fafc;margin-bottom:12px}.order-customer-type-tabs label{display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:7px;cursor:pointer;font-weight:700;font-size:13px}.order-customer-type-tabs label.is-active{background:#fff;box-shadow:0 1px 5px rgba(15,23,42,.09)}.order-customer-type-tabs input{margin:0}.order-contact-grid{margin-top:10px}.order-same-address{margin-top:10px}.order-status-list--editable{gap:7px}.order-status-list--editable>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end;padding:8px 0}.order-status-edit-form{display:grid;grid-template-columns:minmax(160px,1.5fr) 86px minmax(125px,.8fr) minmax(95px,.7fr) auto;gap:8px;align-items:end}.order-status-edit-form label{display:grid;gap:4px}.order-status-edit-form label>span,.order-status-add-form label>span{font-size:11px;color:var(--muted,#64748b)}.order-status-edit-form .checkbox-row{padding-bottom:7px}.order-status-edit-form input[type=color],.order-status-add-form input[type=color]{width:100%;height:34px;padding:2px;border:1px solid var(--border-color,#dbe3e0);border-radius:7px;background:#fff}.order-status-delete-form{padding-bottom:1px}.order-status-add-form{display:grid;gap:9px}.order-status-add-form>label:not(.checkbox-row){display:grid;gap:4px}
@media(max-width:980px){.order-status-edit-form{grid-template-columns:1fr 80px}.order-status-edit-form .checkbox-row{padding-bottom:0}.order-status-list--editable>li{grid-template-columns:1fr auto}}
@media(max-width:620px){.order-customer-type-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}.order-status-list--editable>li{grid-template-columns:1fr}.order-status-edit-form{grid-template-columns:1fr}.order-status-delete-form .button{width:100%}}

/* 1.82.90 DEV — ręczne zamówienie: spójny, zwarty formularz */
.order-create-form--single-card{gap:0}
.order-create-form--single-card .order-form-block{padding:14px 0}
.order-create-form--single-card .order-form-block:first-of-type{padding-top:4px}
.order-create-form--single-card .order-form-block h3{margin:0 0 10px;font-size:14px;letter-spacing:-.01em}
.order-create-form--single-card .form-grid{margin-top:0;gap:10px 12px;align-items:start}
.order-create-form--single-card label:not(.checkbox-row){display:grid;gap:5px;min-width:0;color:var(--text)}
.order-create-form--single-card label:not(.checkbox-row)>span{font-size:12px;font-weight:750;color:var(--muted)}
.order-create-form--single-card input:not([type=radio]):not([type=checkbox]),
.order-create-form--single-card select,
.order-create-form--single-card textarea{display:block;width:100%;min-width:0;min-height:38px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);line-height:1.35}
.order-create-form--single-card textarea{min-height:76px;resize:vertical}
.order-create-form--single-card input:focus,
.order-create-form--single-card select:focus,
.order-create-form--single-card textarea:focus{border-color:rgba(23,107,91,.55);box-shadow:0 0 0 3px rgba(23,107,91,.08);outline:0}
.order-create-form--single-card .order-customer-type-tabs{margin:0 0 12px}
.order-create-form--single-card .order-contact-grid{margin-top:10px}
.order-create-form--single-card .order-same-address{margin-top:10px}
.order-create-form--single-card .order-create-actions{padding-top:14px;border-top:1px solid #e5e7eb;margin-top:0}
@media(max-width:720px){.order-create-form--single-card .form-grid--2,.order-create-form--single-card .form-grid--3{grid-template-columns:1fr}.order-create-form--single-card .form-grid__wide{grid-column:auto}}


/* 1.82.91 DEV — compact order detail on phones */
.order-detail--single-card{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:720px){
  .order-detail--single-card{font-size:13px;line-height:1.35}
  .order-detail--single-card .content-card{border-radius:8px}
  .order-detail--single-card .order-document-section{padding:10px 9px}
  .order-detail--single-card .order-document-summary{gap:8px}
  .order-detail--single-card .order-document-summary h2{font-size:18px;line-height:1.2;margin:0 0 3px}
  .order-detail--single-card .order-section-title{margin-bottom:7px}
  .order-detail--single-card .order-section-title h3{font-size:14px;line-height:1.25}
  .order-detail--single-card .order-section-title p,.order-detail--single-card .muted{font-size:11px;line-height:1.35}
  .order-detail--single-card .order-summary-metrics{grid-template-columns:1fr 1fr;gap:5px}
  .order-detail--single-card .order-summary-metrics>div{padding:6px 7px;border-radius:6px}
  .order-detail--single-card .order-summary-metrics span{font-size:9px;margin-bottom:1px}
  .order-detail--single-card .order-summary-metrics strong{font-size:12px}
  .order-detail--single-card .order-customer-grid{grid-template-columns:1fr 1fr;gap:7px 10px}
  .order-detail--single-card .compact-dl dt{font-size:10px;line-height:1.2;margin-bottom:1px}
  .order-detail--single-card .compact-dl dd{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
  .order-detail--single-card .order-controls-grid{gap:8px}
  .order-detail--single-card .order-controls-grid form{gap:6px}
  .order-detail--single-card label>span{font-size:11px}
  .order-detail--single-card input,.order-detail--single-card select,.order-detail--single-card textarea{min-height:32px;padding:5px 7px;font-size:13px}
  .order-detail--single-card .button{min-height:32px;padding:6px 9px;font-size:12px;line-height:1.2}
  .order-detail--single-card .order-file-row{padding:6px 0;gap:7px}
  .order-detail--single-card .order-file-row strong{font-size:12px}
  .order-detail--single-card .order-file-row small{font-size:10px}
  .order-detail--single-card .form-grid,.order-detail--single-card .form-grid--3{gap:7px;grid-template-columns:1fr 1fr}
  .order-detail--single-card .order-items-table th,.order-detail--single-card .order-items-table td{padding:6px;font-size:11px;line-height:1.25}
  .order-detail--single-card .order-items-table small{font-size:9px}
  .order-detail--single-card .order-add-item h4{font-size:13px;margin:8px 0 6px}
  .order-detail--single-card .order-product-results{font-size:12px}
  .order-detail--single-card .order-history__row{padding:6px 0;font-size:11px}
}
@media(max-width:430px){
  .order-detail--single-card .order-customer-grid{grid-template-columns:1fr}
  .order-detail--single-card .form-grid,.order-detail--single-card .form-grid--3{grid-template-columns:1fr}
}

/* 1.82.92 DEV — zamówienia: zapisane filtry, dokumenty i powiązania produktów */
.order-filter-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}.order-filter-preset{position:relative;display:flex;min-width:190px;border:1px solid var(--border,#dbe3e0);border-radius:10px;background:#fff;overflow:hidden}.order-filter-preset>a{display:grid;gap:2px;flex:1;padding:9px 34px 9px 11px;text-decoration:none;color:inherit}.order-filter-preset>a strong{font-size:12px}.order-filter-preset>a span{font-size:10px;color:var(--muted,#64748b)}.order-filter-preset form{position:absolute;right:5px;top:5px}.order-filter-preset form button{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:#94a3b8;font-size:18px;line-height:1;cursor:pointer}.order-filter-preset form button:hover{background:#f1f5f9;color:#b91c1c}.order-filter-preset--saved{border-style:dashed}.order-filter-preset.is-active{box-shadow:0 0 0 2px rgba(23,107,91,.12);border-color:rgba(23,107,91,.45)}.order-filter-restore{display:flex;align-items:center}.order-save-filter-form{display:flex;align-items:end;gap:8px;margin:8px 0 12px;padding-top:8px;border-top:1px dashed #e5e7eb}.order-save-filter-form label{display:grid;gap:4px;min-width:240px;max-width:420px}.order-save-filter-form label>span{font-size:11px;color:var(--muted,#64748b)}.order-save-filter-form input{min-height:34px}.order-row-link{cursor:pointer}.order-row-link:hover td{background:rgba(15,118,110,.035)}.order-row-link:focus{outline:2px solid rgba(15,118,110,.3);outline-offset:-2px}.order-item-product{display:flex;align-items:flex-start;gap:8px;min-width:230px}.order-item-product>div{min-width:0}.order-item-thumbnail{width:42px;height:42px;flex:0 0 42px;border-radius:7px;object-fit:contain;background:#f8fafc;border:1px solid #e5e7eb}.order-item-thumbnail--empty{display:block;background:linear-gradient(135deg,#f8fafc,#eef2f7)}.order-item-link-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.order-item-link-actions .button{white-space:nowrap}.order-create-product-from-item .form-actions{margin-top:12px}
@media(max-width:720px){.order-filter-presets{display:grid;grid-template-columns:1fr 1fr}.order-filter-preset{min-width:0}.order-filter-restore{grid-column:1/-1}.order-save-filter-form{align-items:stretch;flex-direction:column}.order-save-filter-form label{min-width:0;max-width:none}.order-item-product{min-width:190px}.order-item-thumbnail{width:34px;height:34px;flex-basis:34px}.order-item-link-actions{display:grid;grid-template-columns:1fr}.order-item-link-actions .button{width:100%}}
@media(max-width:430px){.order-filter-presets{grid-template-columns:1fr}}

/* 1.82.96 — karta zamówienia: trzy kolumny danych i dodawanie produktu w tabeli */
.order-summary-side{display:grid;gap:8px;min-width:min(760px,72%)}
.order-summary-side .order-summary-metrics{min-width:0;width:100%;grid-template-columns:repeat(3,minmax(115px,1fr))}
.order-quick-controls{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:7px}
.order-quick-form{display:flex;align-items:end;gap:6px;margin:0;padding:6px 7px;border:1px solid var(--border-color,#e5e7eb);border-radius:8px;background:#fbfcfd}
.order-quick-form label{display:grid;gap:2px;flex:1;min-width:0}
.order-quick-form label>span{font-size:9px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}
.order-quick-form select{width:100%;min-height:30px!important;height:30px;padding:4px 7px!important;font-size:12px}
.order-quick-form .button{min-height:30px;padding:4px 8px;white-space:nowrap}
.order-party-section{padding-top:12px;padding-bottom:12px}
.order-party-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.order-party-block{min-width:0;padding:0 18px}
.order-party-block:first-child{padding-left:0}.order-party-block:last-child{padding-right:0}
.order-party-block+.order-party-block{border-left:1px solid #e5e7eb}
.order-party-block h3{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.025em;color:#475569}
.order-party-block .compact-dl{gap:5px}
.order-party-block .compact-dl div{grid-template-columns:72px minmax(0,1fr);gap:8px}
.order-party-block .compact-dl dt{font-size:10px}.order-party-block .compact-dl dd{margin:0;font-size:12px;overflow-wrap:anywhere}
.order-party-empty{font-size:12px;margin:0}
.order-source-note{padding-top:9px;padding-bottom:9px}.order-source-note .order-section-title{margin-bottom:2px}.order-source-note p{margin:0;font-size:11px}
.order-item-add-row td{background:#f8fafc;border-top:2px solid #dbe3e0;vertical-align:top}
.order-item-add-row input{width:100%;min-width:72px}
.order-inline-product-search{position:relative;min-width:280px}
.order-product-results--inline{position:absolute;z-index:40;left:0;right:0;top:100%;margin-top:4px;max-height:270px;padding:4px;background:#fff;border:1px solid var(--border-color,#d7dfdc);border-radius:8px;box-shadow:0 12px 30px rgba(15,23,42,.16)}
.order-product-results--inline:empty{display:none}
.order-item-add-row.is-product-selected td{background:#f4fbf8}
.order-inline-add-form{margin:0}.order-inline-add-form .button{white-space:nowrap}
@media(max-width:1180px){.order-summary-side{min-width:0;width:100%}.order-party-grid{grid-template-columns:1fr 1fr}.order-party-block:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid #e5e7eb;margin-top:10px;padding:10px 0 0}.order-quick-controls{grid-template-columns:1fr}}
@media(max-width:720px){.order-party-grid{grid-template-columns:1fr}.order-party-block,.order-party-block:first-child,.order-party-block:last-child{padding:0}.order-party-block+.order-party-block,.order-party-block:nth-child(3){grid-column:auto;border-left:0;border-top:1px solid #e5e7eb;margin-top:9px;padding-top:9px}.order-party-block .compact-dl div{grid-template-columns:68px minmax(0,1fr)}.order-summary-side .order-summary-metrics{grid-template-columns:repeat(3,1fr)}.order-quick-form{flex-wrap:wrap}.order-inline-product-search{min-width:220px}}

/* 1.82.97 — kompaktowa karta zamówienia + lokalna korekta danych dostawy */
.order-detail--single-card{font-size:12px;line-height:1.28}
.order-detail--single-card .order-document-section{padding:9px 12px}
.order-detail--single-card .order-document-summary{gap:12px}
.order-detail--single-card .order-summary-identity h2{font-size:18px;line-height:1.15;margin:1px 0 3px}
.order-detail--single-card .order-summary-identity small{font-size:10px}
.order-detail--single-card .order-summary-metrics{gap:5px}
.order-detail--single-card .order-summary-metrics>div{padding:5px 7px;border-radius:6px}
.order-detail--single-card .order-summary-metrics span{font-size:8px;margin-bottom:1px}
.order-detail--single-card .order-summary-metrics strong{font-size:11px}
.order-detail--single-card .order-quick-controls{gap:5px}
.order-detail--single-card .order-quick-form{padding:4px 5px;gap:5px;border-radius:6px}
.order-detail--single-card .order-party-section{padding-top:9px;padding-bottom:9px}
.order-detail--single-card .order-party-block{padding:0 12px}
.order-detail--single-card .order-party-block h3{font-size:11px;margin:0;text-transform:uppercase;letter-spacing:.035em}
.order-party-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px;min-height:22px}
.order-edit-pencil{width:24px;height:24px;padding:0;border:1px solid #dbe3e0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;font-size:14px;line-height:1}
.order-edit-pencil:hover{background:#f8fafc;color:#0f766e;border-color:#b7ccc5}
.order-delivery-read{cursor:pointer;border-radius:6px;margin:-3px;padding:3px;transition:background .12s}
.order-delivery-read:hover{background:#f8fafc}
.order-detail--single-card .compact-dl{gap:3px}
.order-detail--single-card .compact-dl div{grid-template-columns:64px minmax(0,1fr);gap:6px}
.order-detail--single-card .compact-dl dt{font-size:9px;line-height:1.2}
.order-detail--single-card .compact-dl dd{font-size:11px;line-height:1.25;margin:0}
.order-detail--single-card .compact-dl dd small{display:block;font-size:9px;color:#64748b;margin-top:1px}
.order-local-badge{display:inline-flex;margin-top:5px;padding:2px 5px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:9px;font-weight:700}
.order-delivery-edit-form{padding-top:2px}
.order-delivery-form-grid{display:grid;grid-template-columns:1.2fr 1.8fr .65fr .65fr .75fr 1.1fr .55fr;gap:5px}
.order-delivery-form-grid label{display:grid;gap:2px;min-width:0}.order-delivery-form-grid label>span{font-size:8px;text-transform:uppercase;color:#64748b}
.order-delivery-form-grid input{min-width:0;width:100%;min-height:29px!important;height:29px;padding:4px 6px!important;font-size:11px!important}
.order-inline-actions{display:flex;gap:5px;margin-top:6px}
.order-source-original{display:grid;gap:2px;margin-top:6px;padding-top:6px;border-top:1px dashed #e2e8f0;font-size:9px;color:#64748b}
.order-source-original strong{font-size:9px;color:#475569;text-transform:uppercase;letter-spacing:.03em}
.order-detail--single-card .order-section-title{margin-bottom:5px}.order-detail--single-card .order-section-title h3{font-size:12px}.order-detail--single-card .order-section-title p{font-size:9px}
.order-detail--single-card .order-items-table th,.order-detail--single-card .order-items-table td{padding:5px 6px;font-size:10px;line-height:1.2}
.order-detail--single-card .order-item-thumbnail{width:34px;height:34px;flex-basis:34px}
.order-detail--single-card .order-file-row{padding:5px 0}.order-detail--single-card .order-history__row{padding:5px 0;font-size:10px}
.order-detail--single-card .order-upload-form .form-grid{gap:5px}.order-detail--single-card .order-upload-form input,.order-detail--single-card .order-upload-form select{min-height:30px;padding:4px 6px;font-size:11px}
@media(max-width:1180px){.order-delivery-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-delivery-form-grid .is-wide{grid-column:span 2}}
@media(max-width:720px){.order-detail--single-card{font-size:12px}.order-detail--single-card .order-document-section{padding:8px}.order-delivery-form-grid{grid-template-columns:1fr 1fr}.order-delivery-form-grid .is-wide{grid-column:1/-1}}

/* 1.82.98 compact order economics/editors */
.order-price-form{display:flex;align-items:center;gap:.3rem;min-width:116px}.order-price-form input{width:78px;min-width:0;padding:.3rem .4rem}.order-price-form .button{padding:.28rem .45rem}.order-invoice-read{cursor:pointer}.order-summary-metrics{gap:.55rem}.order-summary-metrics>div{min-width:105px}.order-summary-metrics small{display:block;font-size:.68rem;color:var(--muted,#64748b);font-weight:400}

/* 1.82.99 order data copy + compact address rows */
.order-copy-value{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle}.order-copy-icon-button{width:20px;height:20px;min-width:20px;border-radius:5px;font-size:10px;line-height:1;flex:0 0 auto}.order-copy-dl dd{min-width:0}.order-copy-dl .order-copy-value{overflow-wrap:anywhere}.order-source-original .compact-dl{margin-top:3px;gap:3px}.order-source-original .compact-dl div{grid-template-columns:64px minmax(0,1fr);gap:6px}.order-source-original .compact-dl dt{font-size:8px}.order-source-original .compact-dl dd{font-size:9px;margin:0}.order-delivery-read [data-copy],.order-invoice-read [data-copy]{cursor:pointer}

/* 1.83.7 DEV — większa czytelność typografii na podglądzie zamówienia. */
.order-detail--single-card .order-summary-identity small{font-size:12px}
.order-detail--single-card .order-summary-metrics strong{font-size:14px}
.order-detail--single-card .order-party-block h3{font-size:14px}
.order-detail--single-card .compact-dl dd{font-size:14px}
.order-detail--single-card .order-delivery-form-grid input{font-size:14px!important}
.order-detail--single-card .order-upload-form input,
.order-detail--single-card .order-upload-form select{font-size:14px}
.order-detail--single-card .order-items-table th,
.order-detail--single-card .order-items-table td{font-size:12px}
.order-detail--single-card .order-history__row{font-size:12px}
.order-detail--single-card .order-copy-icon-button{font-size:12px}

/* 1.83.9 order detail label readability */
.order-detail--single-card .compact-dl dt{font-size:12px}
.order-detail--single-card .compact-dl dd small{font-size:12px}
.order-detail--single-card .order-local-badge{font-size:12px}
.order-detail--single-card .order-source-original{font-size:12px}
.order-detail--single-card .order-source-original strong{font-size:12px}
.order-detail--single-card .order-source-original .compact-dl dt{font-size:12px}
.order-detail--single-card .order-source-original .compact-dl dd{font-size:12px}
.order-detail--single-card .order-section-title p{font-size:12px}

/* 1.83.37: półręczne tworzenie produktu PrestaShop z karty produktu */
.product-offer-row--missing td{background:#fbfdfc}.product-offer-row--missing strong{display:block}.product-offer-row--missing small{display:block;margin-top:4px;color:var(--muted)}
.prestashop-create-source-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:12px}.prestashop-create-source-form .field{margin:0}
.prestashop-create-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:14px 0 18px}.prestashop-create-gallery__item{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff}.prestashop-create-gallery__item img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:8px;background:#f8faf9}.prestashop-create-gallery__item label{font-size:.85rem}.prestashop-create-gallery__item .styled-input{min-height:34px;padding:5px 7px}.prestashop-create-gallery__item small{color:var(--muted);overflow-wrap:anywhere}
@media(max-width:700px){.prestashop-create-source-form{grid-template-columns:1fr}.prestashop-create-source-form .button{width:100%}.prestashop-create-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.83.47 DEV — PrestaShop: biblioteka zdjęć edycji spójna z dodawaniem */
.ps-gallery-library{width:min(980px,calc(100vw - 32px));max-width:980px;max-height:min(82vh,820px);padding:0;border:1px solid var(--border);border-radius:16px;background:var(--surface,#fff);box-shadow:0 24px 70px rgba(15,23,42,.24);overflow:hidden}
.ps-gallery-library::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}
.ps-gallery-library__header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.97)}
.ps-gallery-library__header h3{margin:0 0 4px}.ps-gallery-library__header p{margin:0}
.ps-gallery-library__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:10px;padding:16px 20px;max-height:calc(82vh - 170px);overflow:auto;align-items:stretch}
.ps-library-item{position:relative;display:grid;grid-template-rows:auto 112px minmax(32px,auto);gap:7px;min-width:0;padding:9px;border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.ps-library-item:hover{border-color:#7aa99f;box-shadow:0 3px 12px rgba(15,23,42,.08);transform:translateY(-1px)}
.ps-library-item:has(input[type="checkbox"]:checked){border-color:var(--primary,#176b5b);box-shadow:0 0 0 2px rgba(23,107,91,.14)}
.ps-library-item>input[type="checkbox"]{position:absolute;top:8px;left:8px;z-index:1;width:18px;height:18px;margin:0;accent-color:var(--primary,#176b5b)}
.ps-library-item>img{display:block;width:100%;height:112px;object-fit:contain;border-radius:8px;background:#f8fafc}
.ps-library-item>span{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;line-height:1.3;font-weight:650;color:var(--text,#1f2937);overflow-wrap:anywhere}
.ps-gallery-library>.button-row{position:sticky;bottom:0;z-index:2;justify-content:flex-end;margin:0;padding:12px 20px;border-top:1px solid var(--border);background:rgba(255,255,255,.97)}
.ps-gallery-heading{align-items:flex-start}.ps-gallery-selected{align-items:start}.ps-gallery-item small{display:block;margin-top:6px;min-width:0;color:var(--muted);font-size:10.5px;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:760px){.ps-gallery-library{width:calc(100vw - 20px);max-height:88vh}.ps-gallery-library__header{padding:14px;flex-direction:column}.ps-gallery-library__grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 14px;max-height:calc(88vh - 190px)}.ps-library-item{grid-template-rows:auto 92px minmax(30px,auto);padding:7px}.ps-library-item>img{height:92px}.ps-gallery-library>.button-row{padding:10px 14px}}
@media(max-width:520px){.ps-gallery-library__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ps-gallery-library__header .button{width:100%}.ps-gallery-library>.button-row .button{width:100%}}

/* 1.83.62 DEV — PrestaShop: rozwijana wyszukiwarka kategorii bez przebudowy inputa/selecta */
.prestashop-category-combobox-ready{position:relative}
.prestashop-category-combobox-ready>[data-prestashop-category-select]{display:none}
.prestashop-category-dropdown{position:absolute;left:0;right:0;top:calc(100% - 22px);z-index:1200;max-height:320px;overflow:auto;border:1px solid var(--border,#d8e1de);border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.16);padding:5px}
.prestashop-category-dropdown[hidden]{display:none}
.prestashop-category-dropdown__option{display:block;width:100%;border:0;border-radius:7px;background:transparent;padding:8px 10px;text-align:left;font:inherit;font-size:.9rem;line-height:1.3;color:var(--text,#1f2937);cursor:pointer;overflow-wrap:anywhere}
.prestashop-category-dropdown__option:hover,.prestashop-category-dropdown__option.is-active{background:#eef7f4}
.prestashop-category-dropdown__option.is-selected{font-weight:700;color:var(--primary,#176b5b)}
.prestashop-category-dropdown__empty,.prestashop-category-dropdown__more{padding:8px 10px;color:var(--muted,#64748b);font-size:.8rem;line-height:1.3}
@media(max-width:700px){.prestashop-category-dropdown{max-height:250px}}


/* 1.83.79 DEV — order waybill dropzone (external stylesheet for CSP) */
.order-waybill-panel{margin-top:14px;padding-top:10px;border-top:1px solid #e5edf2}
.order-waybill-dropzone{width:100%;min-height:96px;border:2px dashed #2d7f78!important;border-radius:8px;background:#fbfdfd;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 14px;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;box-sizing:border-box}
.order-waybill-dropzone:hover,.order-waybill-dropzone.is-dragover{background:#eef8f6;border-color:#0f766e!important}
.order-waybill-dropzone.is-dragover{box-shadow:0 0 0 3px rgba(15,118,110,.10)}
.order-waybill-dropzone.is-uploading{opacity:.65;cursor:wait}
.order-waybill-dropzone strong{font-size:12px;color:#203448}
.order-waybill-dropzone small{font-size:11px;color:#76869a;margin-top:3px}
.order-waybill-dropzone span{font-size:11px;color:#147d71;margin-top:4px}
.order-waybill-list{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.order-waybill-row{display:flex;align-items:center;gap:4px;padding:0;border:0}
.order-waybill-row form{margin:0}
.order-waybill-download{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
.order-waybill-delete{min-width:30px;padding-left:8px;padding-right:8px}
@media(max-width:720px){.order-waybill-list{align-items:flex-start;flex-direction:column}.order-waybill-row{max-width:100%}}
/* 1.83.81: zarządzanie przestrzenią dyskową */
.storage-summary-grid{margin-bottom:20px}.storage-toolbar{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(150px,1fr));gap:12px;align-items:end;margin-bottom:16px}.storage-toolbar label{display:grid;gap:6px}.storage-toolbar label>span{font-size:.82rem;color:var(--muted,#64748b)}.storage-toolbar .storage-duplicates{grid-column:1/-1;display:flex;align-items:center}.storage-actions{display:flex;gap:12px;align-items:center;margin:14px 0}.storage-table td{vertical-align:middle}.storage-smart-info{border-left:4px solid #176b5b}@media(max-width:900px){.storage-toolbar{grid-template-columns:1fr}.storage-toolbar .storage-duplicates{grid-column:auto}}

/* Orders master-detail workspace — 1.83.84 */
.orders-master-detail{margin:0 0 12px;padding:10px;border:1px solid var(--border-color,#d8e1e8);border-radius:12px;background:var(--surface,#fff);box-shadow:0 8px 26px rgba(15,23,42,.06);scroll-margin-top:12px}.orders-master-detail[hidden]{display:none!important}.orders-master-detail.is-loading{opacity:.72;pointer-events:none}.orders-master-detail__toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--border-color,#e5e7eb)}.orders-master-detail__nav{display:flex;gap:6px;flex-wrap:wrap}.order-row-link.is-open td{background:rgba(15,118,110,.07)}.order-row-link.is-open{box-shadow:inset 3px 0 0 var(--primary,#0f766e)}@media(max-width:720px){.orders-master-detail{padding:6px}.orders-master-detail__toolbar{align-items:stretch;flex-direction:column}.orders-master-detail__nav{justify-content:space-between}}
