.auth-page, .account-page, .admin-page {
  min-height: 100vh;
  padding: 48px 18px 100px;
  background: var(--pmv-page-bg);
  color: var(--pmv-text-theme);
  font-family: Poppins, Arial, sans-serif;
}

.auth-shell, .account-shell, .admin-shell { width: min(100%, 1180px); margin: 0 auto; }
.auth-shell { max-width: 520px; }
.auth-brand { display: inline-flex; margin-bottom: 24px; color: #8f18ff; font-size: 28px; font-weight: 800; text-decoration: none; }
.form-card, .account-card, .admin-card {
  border: 1px solid var(--pmv-border-theme);
  border-radius: 22px;
  background: var(--pmv-surface);
  box-shadow: var(--pmv-shadow-theme);
}
.form-card { padding: clamp(24px, 5vw, 42px); }
.form-card h1, .account-card h1, .admin-card h1 { margin: 0 0 8px; }
.form-intro { margin: 0 0 26px; color: var(--pmv-muted-theme); line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; }
.form-group input:not([type="checkbox"]):not([type="radio"]), .form-group select, .admin-price-input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid var(--pmv-border-theme);
  border-radius: 12px;
  background: var(--pmv-surface);
  color: var(--pmv-text-theme);
  padding: 0 14px;
  font: inherit;
}
.field-error { margin: 6px 0 0; color: #c31e45; font-size: 13px; }
.form-error { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #ffe8ec; color: #9b1833; }
.form-success { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #e1f8eb; color: #14663e; line-height: 1.55; }
.form-label-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
.form-label-row label { margin:0; }
.form-label-row a { color:#8218e8; font-size:13px; font-weight:700; text-decoration:none; }
.button-primary, .button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.button-primary { gap:8px; border: 0; background: linear-gradient(90deg, #d10cff, #2d00ff); color: #fff !important; }
.button-primary:hover { color:#fff !important; filter:brightness(1.08); }
.button-primary:active { color:#fff !important; filter:brightness(.94); transform:translateY(1px); }
.button-primary:disabled, .button-primary[aria-disabled="true"] { color:rgba(255,255,255,.82) !important; opacity:.55; cursor:not-allowed; filter:saturate(.6); transform:none; }
.button-secondary { border: 1px solid var(--pmv-border-theme); background: var(--pmv-surface-soft); color: var(--pmv-text-theme); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.auth-footer { margin-top: 20px; color: var(--pmv-muted-theme); text-align: center; }
.auth-footer a { color: #8f18ff; font-weight: 700; }
.account-top, .admin-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.account-card { padding: 28px; }
.admin-card { padding: 24px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--pmv-border-theme); border-radius: 16px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.admin-table th, .admin-table td { padding: 14px; border-bottom: 1px solid var(--pmv-border-theme); text-align: left; vertical-align: middle; }
.admin-table th { background: var(--pmv-surface-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-price-input { min-width: 105px; min-height: 42px; }
.admin-product-name { font-weight: 700; }
.admin-product-slug, .admin-help { color: var(--pmv-muted-theme); font-size: 13px; }
.admin-toolbar { display: flex; gap: 12px; margin: 0 0 18px; }
.admin-toolbar input { max-width: 420px; }
.admin-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--pmv-surface-soft); font-size: 12px; font-weight: 700; }

@media (max-width: 760px) {
  .auth-page, .account-page, .admin-page { padding: 26px 12px 90px; }
  .account-top, .admin-top { align-items: flex-start; flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card, .admin-card { padding: 20px; }
  .button-row > * { width: 100%; }
  .admin-table-wrap { overflow: visible; border: 0; background: transparent !important; }
  .admin-table { min-width: 0; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; box-sizing: border-box; }
  .admin-table tr {
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid var(--pmv-border-theme);
    border-radius: 16px;
    background: var(--pmv-surface);
  }
  .admin-table td {
    display: grid;
    grid-template-columns: minmax(105px, .75fr) minmax(0, 1.25fr);
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--pmv-border-theme);
  }
  .admin-table td:last-child { border-bottom: 0; }
  .admin-table td::before { content: attr(data-label); color: var(--pmv-muted-theme); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
  .admin-table td .admin-price-input, .admin-table td .button-primary { width: 100%; }
}

.admin-app { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0,1fr); background: var(--pmv-page-bg); color: var(--pmv-text-theme); font-family: Poppins, Arial, sans-serif; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; padding: 26px 16px; border-right: 1px solid var(--pmv-border-theme); background: var(--pmv-surface); }
.admin-sidebar__brand { display: flex; align-items: baseline; gap: 8px; padding: 0 12px 24px; color: #8e18ff; font-size: 25px; font-weight: 800; text-decoration: none; }
.admin-sidebar__brand span { color: var(--pmv-muted-theme); font-size: 10px; letter-spacing: .12em; }
.admin-sidebar__nav { display: grid; gap: 5px; }
.admin-sidebar__nav a, .admin-sidebar__bottom a { display: flex; min-height: 46px; align-items: center; gap: 12px; padding: 0 13px; border-radius: 12px; color: var(--pmv-muted-theme); text-decoration: none; font-weight: 600; }
.admin-sidebar__nav a i, .admin-sidebar__bottom a i { width: 20px; text-align: center; }
.admin-sidebar__nav a:hover, .admin-sidebar__bottom a:hover { background: var(--pmv-surface-soft); color: var(--pmv-text-theme); }
.admin-sidebar__nav a.is-active { background: linear-gradient(90deg,#d10cff,#4814ff); color:#fff; box-shadow:0 10px 25px rgba(116,21,255,.22); }
.admin-sidebar__bottom { display:grid; gap:5px; margin-top:auto; padding-top:18px; border-top:1px solid var(--pmv-border-theme); }
.admin-main { min-width:0; padding:32px clamp(18px,4vw,48px) 80px; }
.admin-page-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:26px; }
.admin-page-head h1 { margin:0; font-size:clamp(28px,4vw,42px); line-height:1.1; }
.admin-page-head p { margin:8px 0 0; color:var(--pmv-muted-theme); }
.admin-live-badge { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid var(--pmv-border-theme); border-radius:999px; background:var(--pmv-surface); font-size:12px; font-weight:700; white-space:nowrap; }
.admin-live-badge i { color:#27b36a; font-size:8px; }
.admin-grid { display:grid; gap:20px; }
.admin-grid--stats { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:22px; }
.admin-stat { padding:22px; border:1px solid var(--pmv-border-theme); border-radius:18px; background:var(--pmv-surface); box-shadow:none; }
.admin-stat__icon { display:grid; width:42px; height:42px; margin-bottom:16px; place-items:center; border-radius:12px; background:#f0e4ff; color:#8514ed; }
html[data-theme="dark"] .admin-stat__icon { background:#302044; color:#dfb5ff; }
.admin-stat span { display:block; color:var(--pmv-muted-theme); font-size:13px; }
.admin-stat strong { display:block; margin-top:5px; font-size:27px; }
.admin-section { padding:22px; border:1px solid var(--pmv-border-theme); border-radius:18px; background:var(--pmv-surface); box-shadow:none; }
.admin-section-head { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px; }
.admin-section-head h2 { margin:0; font-size:21px; }
.admin-section-head a { color:#8218e8; font-weight:700; text-decoration:none; }
.admin-section-head a.button-primary { color:#fff !important; }
.admin-data-table { width:100%; border-collapse:collapse; }
.admin-data-table th, .admin-data-table td { padding:13px 12px; border-bottom:1px solid var(--pmv-border-theme); text-align:left; vertical-align:middle; }
.admin-data-table th { color:var(--pmv-muted-theme); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.admin-data-table tr:last-child td { border-bottom:0; }
.admin-status { display:inline-flex; padding:5px 9px; border-radius:999px; background:#ece8f2; color:#5b5368; font-size:11px; font-weight:700; }
.admin-status--nowe { background:#eee2ff; color:#7617c6; }
.admin-status--oplacone, .admin-status--zrealizowane { background:#ddf7e8; color:#167444; }
.admin-status--anulowane { background:#ffe3e8; color:#a41c38; }
.admin-actions { display:flex; flex-wrap:wrap; gap:9px; }
.admin-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.admin-form-grid .is-full { grid-column:1/-1; }
.admin-empty { padding:34px 18px; color:var(--pmv-muted-theme); text-align:center; }
.admin-quick-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.admin-quick-link { padding:18px; border:1px solid var(--pmv-border-theme); border-radius:15px; background:var(--pmv-surface-soft); color:var(--pmv-text-theme); text-decoration:none; }
.admin-quick-link i { color:#8618ee; margin-right:8px; }
.admin-quick-link strong { display:block; margin-bottom:5px; }
.admin-quick-link span { color:var(--pmv-muted-theme); font-size:12px; }

@media (max-width: 1100px) { .admin-grid--stats { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 860px) {
  .admin-app { grid-template-columns:1fr; }
  .admin-sidebar { position:relative; width:100%; height:auto; padding:14px; border-right:0; border-bottom:1px solid var(--pmv-border-theme); }
  .admin-sidebar__brand { padding:4px 8px 12px; }
  .admin-sidebar__nav { display:flex; overflow-x:auto; padding-bottom:4px; }
  .admin-sidebar__nav a { flex:0 0 auto; }
  .admin-sidebar__bottom { display:none; }
  .admin-main { padding:24px 14px 70px; }
  .admin-form-grid { grid-template-columns:1fr; }
  .admin-form-grid .is-full { grid-column:auto; }
  .admin-quick-grid { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .admin-grid--stats { grid-template-columns:1fr; }
  .admin-page-head { flex-direction:column; }
  .admin-section { padding:16px; overflow-x:auto; }
  .admin-data-table { min-width:660px; }
}

.pricing-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:20px; align-items:start; }
.pricing-products { position:sticky; top:22px; max-height:calc(100vh - 44px); overflow:auto; }
.pricing-products nav { display:grid; gap:5px; margin-top:12px; }
.pricing-products nav a { display:flex; flex-direction:column; padding:11px 12px; border-radius:10px; color:var(--pmv-text-theme); text-decoration:none; }
.pricing-products nav a:hover { background:var(--pmv-surface-soft); }
.pricing-products nav a.is-active { background:linear-gradient(90deg,#d10cff,#4814ff); color:#fff; }
.pricing-products nav small { margin-top:2px; opacity:.68; }
.pricing-safety-card { display:grid; grid-template-columns:48px minmax(0,1fr) 180px; gap:16px; align-items:center; margin:18px 0 8px; padding:18px; border:1px solid rgba(126,27,226,.25); border-radius:16px; background:linear-gradient(135deg,rgba(209,12,255,.08),rgba(72,20,255,.05)); }
.pricing-safety-card__icon { display:grid; width:48px; height:48px; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,#d10cff,#4814ff); font-size:19px; }
.pricing-safety-card strong { color:var(--pmv-text-theme); }
.pricing-safety-card p { margin:4px 0 0; color:var(--pmv-muted-theme); font-size:12px; line-height:1.55; }
.pricing-markup-field { display:grid; gap:6px; color:var(--pmv-text-theme); font-size:12px; font-weight:700; }
.pricing-percent-input { display:grid; grid-template-columns:1fr 38px; align-items:center; overflow:hidden; border:1px solid var(--pmv-border-theme); border-radius:11px; background:var(--pmv-surface); }
.pricing-percent-input input { min-width:0; min-height:44px; border:0 !important; border-radius:0 !important; background:transparent !important; }
.pricing-percent-input b { color:#8018df; text-align:center; }
.pricing-promotion-toggle { margin:0 0 18px; padding:13px 2px; }
.pricing-area-grid { display:grid; grid-template-columns:repeat(3,minmax(180px,1fr)); gap:14px; align-items:end; margin-top:8px; padding:16px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }
.pricing-area-grid .form-group { margin:0; }
.pricing-minimum-output { display:flex; min-height:44px; align-items:center; box-sizing:border-box; padding:0 12px; border:1px dashed rgba(126,27,226,.45); border-radius:10px; color:#8018df; background:var(--pmv-surface); font-weight:700; }
.pricing-price-alert, .tier-price-alert { display:none; margin:0; color:#b4233e; font-size:12px; font-weight:700; }
.pricing-area-grid.is-below-floor { border-color:#e45b74; box-shadow:0 0 0 3px rgba(228,91,116,.1); }
.pricing-area-grid.is-below-floor .pricing-price-alert { display:block; grid-column:1/-1; }
.tier-editor { display:grid; gap:8px; margin-bottom:14px; }
.tier-editor__head, .tier-row { display:grid; grid-template-columns:100px minmax(145px,1fr) minmax(125px,.8fr) minmax(145px,1fr) minmax(105px,.7fr) 42px; gap:10px; align-items:center; min-width:790px; }
.tier-editor__head { padding:0 6px 5px; color:var(--pmv-muted-theme); font-size:11px; font-weight:700; text-transform:uppercase; }
.tier-row { padding:10px; border:1px solid var(--pmv-border-theme); border-radius:13px; background:var(--pmv-surface-soft); }
.tier-row input { width:100%; min-height:44px; box-sizing:border-box; border:1px solid var(--pmv-border-theme); border-radius:10px; background:var(--pmv-surface); color:var(--pmv-text-theme); padding:0 11px; font:inherit; }
.tier-unit-price, .tier-minimum-price { font-weight:700; color:#8018df; }
.tier-minimum-price { font-size:13px; }
.tier-row.is-below-floor { border-color:#e45b74; box-shadow:0 0 0 3px rgba(228,91,116,.1); }
.tier-row.is-below-floor .tier-minimum-price { color:#b4233e; }
.tier-row.is-below-floor .tier-price-alert { display:block; grid-column:1/-1; }
.tier-remove { width:38px; height:38px; border:0; border-radius:10px; background:#ffe5eb; color:#a51735; font-size:22px; cursor:pointer; }
@media (max-width:1050px) { .pricing-layout { grid-template-columns:1fr; } .pricing-products { position:static; max-height:none; } .pricing-products nav { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:800px) { .pricing-safety-card { grid-template-columns:48px minmax(0,1fr); } .pricing-markup-field { grid-column:1/-1; } .pricing-area-grid { grid-template-columns:1fr; } }
@media (max-width:700px) { .pricing-products nav { grid-template-columns:1fr; } .tier-editor { overflow:visible; } .tier-editor__head { display:none; } .tier-row { grid-template-columns:1fr 1fr; min-width:0; } .tier-remove { justify-self:end; } .tier-price-alert { grid-column:1/-1; } }

.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.admin-toggle { display:flex; gap:13px; align-items:center; padding:15px 0; border-bottom:1px solid var(--pmv-border-theme); cursor:pointer; }
.admin-toggle:last-child { border-bottom:0; }
.admin-toggle input { flex:0 0 20px; width:20px; height:20px; min-height:20px; margin:0; padding:0; accent-color:#8918ef; cursor:pointer; }
.admin-toggle span { display:grid; gap:4px; }
.admin-toggle small { color:var(--pmv-muted-theme); line-height:1.5; }
.settings-logo-preview { display:grid; min-height:110px; place-items:center; padding:15px; border-radius:14px; background:#111018; }
.settings-logo-preview img { max-width:260px; max-height:80px; filter:brightness(0) invert(1); }
.form-group textarea { width:100%; box-sizing:border-box; border:1px solid var(--pmv-border-theme); border-radius:12px; background:var(--pmv-surface); color:var(--pmv-text-theme); padding:12px 14px; font:inherit; resize:vertical; }
.admin-field-label { display:block; margin-bottom:7px; font-weight:600; }
.admin-check-stack { display:grid; gap:10px; }
.admin-check-row { display:flex !important; min-height:38px; align-items:center !important; gap:11px; margin:0; color:var(--pmv-text-theme); font-size:14px; font-weight:600; line-height:1.35; text-transform:none !important; cursor:pointer; }
.admin-check-row input[type="checkbox"] { flex:0 0 20px !important; width:20px !important; height:20px !important; min-height:20px !important; margin:0 !important; padding:0 !important; accent-color:#8918ef; cursor:pointer; }
.admin-check-row span { display:block; min-width:0; }
.parameter-specific label.admin-check-row { display:flex !important; align-self:end; padding:2px 0; }
html[data-theme="dark"] .form-error { background:#421d29; color:#ffb8c7; }
html[data-theme="dark"] .form-success { background:#17392a; color:#a8ecc8; }
@media(max-width:900px){.settings-grid{grid-template-columns:1fr;}}

.products-admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.product-admin-card { display:grid; grid-template-columns:150px minmax(0,1fr); overflow:hidden; border:1px solid var(--pmv-border-theme); border-radius:17px; background:var(--pmv-surface-soft); }
.product-admin-card__image { min-height:190px; background:#fff; }
.product-admin-card__image img { width:100%; height:100%; object-fit:cover; }
.product-admin-card__body { min-width:0; padding:17px; }
.product-admin-card__top { display:flex; justify-content:space-between; gap:12px; }
.admin-product-status { display:inline-flex; flex:0 0 auto; align-items:center; gap:7px; align-self:flex-start; padding:3px 0; color:var(--pmv-text-theme); font-size:12px; font-weight:700; line-height:1.25; white-space:nowrap; }
.admin-product-status::before { content:""; display:block; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#8b8491; box-shadow:0 0 0 3px color-mix(in srgb, #8b8491 15%, transparent); }
.admin-product-status--active::before { background:#21a861; box-shadow:0 0 0 3px color-mix(in srgb, #21a861 16%, transparent); }
.admin-product-status--hidden::before { background:#d83a55; box-shadow:0 0 0 3px color-mix(in srgb, #d83a55 16%, transparent); }
.product-admin-card h3 { margin:0 0 2px; }
.product-admin-card small,.product-admin-card p { color:var(--pmv-muted-theme); }
.product-admin-card p { min-height:42px; font-size:13px; line-height:1.55; }
.product-admin-meta { display:flex; flex-wrap:wrap; gap:8px 14px; margin:12px 0; color:var(--pmv-muted-theme); font-size:11px; }
.product-admin-card .admin-actions form { display:flex; flex-wrap:wrap; gap:9px; }
@media(max-width:1250px){.products-admin-grid{grid-template-columns:1fr;}}
@media(max-width:620px){.product-admin-card{grid-template-columns:1fr}.product-admin-card__image{height:190px}.product-admin-card__top{align-items:flex-start}.product-admin-card .admin-actions>*{width:100%}.product-admin-card .admin-actions form{width:100%}.product-admin-card .admin-actions form button{flex:1}}

/* Promivo branding, shipping tracking and promotion badges */
.admin-sidebar__brand { align-items:center; gap:11px; }
.admin-sidebar__brand-logo { display:grid; width:42px; height:42px; flex:0 0 42px; place-items:center; border-radius:13px; background:linear-gradient(135deg,#6f19ff,#d10cff 62%,#ff4db8); box-shadow:0 9px 20px rgba(126,25,255,.24); }
.admin-sidebar__brand-logo img { display:block; width:22px; height:28px; object-fit:contain; }
.admin-sidebar__brand-name { display:grid; gap:0; line-height:1; }
.admin-sidebar__brand-name strong { color:#8e18ff; font-size:24px; font-weight:800; }
.admin-sidebar__brand-name small { margin-top:5px; color:var(--pmv-muted-theme); font-size:9px; letter-spacing:.19em; }
.product-admin-card__image { position:relative; }
.product-badges { position:absolute; z-index:3; top:10px; right:10px; display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.product-badge { display:inline-flex; align-items:center; min-height:25px; padding:4px 9px; border-radius:999px; color:#fff; background:#6f19ff; box-shadow:0 5px 14px rgba(33,18,43,.18); font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.product-badge--bestseller { background:linear-gradient(135deg,#ff9d00,#ff4d00); }
.product-badge--new { background:linear-gradient(135deg,#00a990,#00c9a7); }
.product-badge--promotion,.product-badge--discount { background:linear-gradient(135deg,#d40c74,#ff3e66); }
.product-card-price { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:6px 0 13px; font-size:13px; }
.product-card-price del,.order-regular-price { color:var(--pmv-muted-theme); }
.product-card-price strong { color:#9016ef; }
.pricing-promotion-note { display:flex; gap:13px; align-items:flex-start; margin:0 0 20px; padding:15px 17px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }
.pricing-promotion-note i { display:grid; width:36px; height:36px; flex:0 0 36px; place-items:center; border-radius:11px; background:#eee2ff; color:#7617c6; }
.pricing-promotion-note p { margin:4px 0 0; color:var(--pmv-muted-theme); font-size:12px; line-height:1.55; }
.pricing-promotion-note.is-active { border-color:#f3a8bf; background:#fff3f7; }
.pricing-promotion-note.is-active i { background:#ffdeea; color:#b71051; }
.order-shipment-panel { margin:24px 0; padding:20px; border:1px solid var(--pmv-border-theme); border-radius:17px; background:var(--pmv-surface-soft); }
.order-shipment-panel .admin-section-head { margin-bottom:16px; }
.order-shipment-panel h3 { margin:0 0 3px; }
.shipment-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.shipment-form .form-group { margin:0; }
.shipment-form__actions { display:flex; align-items:end; }
.shipment-resend-form { margin-top:12px; }
.shipment-current { display:flex; gap:13px; align-items:center; margin-bottom:16px; padding:14px 16px; border-radius:13px; background:var(--pmv-surface); }
.shipment-current>i { display:grid; width:39px; height:39px; place-items:center; border-radius:12px; background:#eee2ff; color:#7617c6; }
.shipment-current div { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.shipment-current span { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.shipment-current a { color:#8218e8; font-weight:700; text-decoration:none; }
.tracking-email-status--sent { background:#ddf7e8; color:#167444; }
.tracking-email-status--failed { background:#ffe3e8; color:#a41c38; }
.admin-badge--discount { background:#ffdeea; color:#b71051; }
.order-tracking-list { display:grid; gap:3px; }
.order-tracking-list small { max-width:150px; overflow:hidden; color:var(--pmv-muted-theme); text-overflow:ellipsis; }
@media(max-width:760px){.shipment-form{grid-template-columns:1fr}.shipment-form__actions{align-items:stretch}.shipment-form__actions .button-primary{width:100%}}
[data-theme="dark"] .pricing-promotion-note.is-active { border-color:#703047; background:#381f2a; }

.product-edit-grid { display:grid; grid-template-columns:minmax(0,1fr) 350px; gap:20px; align-items:start; }
.product-edit-main { display:grid; gap:20px; }
.product-edit-side { display:grid; gap:20px; position:sticky; top:20px; }
.product-image-preview { height:220px; margin:14px 0; overflow:hidden; border-radius:14px; background:#fff; }
.product-image-preview img { width:100%;height:100%;object-fit:contain; }
.product-save-sticky { width:100%;min-height:56px; }
.parameters-builder { display:grid;gap:14px; }
.parameter-card { border:1px solid var(--pmv-border-theme);border-radius:15px;background:var(--pmv-surface-soft);padding:15px; }
.parameter-card__head { display:flex;justify-content:space-between;gap:12px;margin-bottom:13px; }
.parameter-card__head button { width:34px;height:34px;border:1px solid var(--pmv-border-theme);border-radius:9px;background:var(--pmv-surface);color:var(--pmv-text-theme);cursor:pointer; }
.parameter-common { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px; }
.parameter-common label,.parameter-specific label { display:grid;gap:5px;color:var(--pmv-muted-theme);font-size:11px;font-weight:700;text-transform:uppercase; }
.parameter-common input,.parameter-common select,.parameter-specific input,.parameter-specific textarea { width:100%;min-height:42px;box-sizing:border-box;border:1px solid var(--pmv-border-theme);border-radius:9px;background:var(--pmv-surface);color:var(--pmv-text-theme);padding:0 10px;font:inherit;text-transform:none; }
.parameter-specific textarea { padding:10px; resize:vertical; }
.parameter-specific { margin-top:13px;padding-top:13px;border-top:1px solid var(--pmv-border-theme); }
.parameter-options { display:grid;gap:7px;margin-bottom:9px; }
.parameter-option-row { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 125px 125px 38px;gap:8px;align-items:center; }
.parameter-option-tier-prices { grid-column:1/-1; min-height:58px !important; font-family:ui-monospace,SFMono-Regular,Consolas,monospace !important; font-size:12px !important; }
.parameter-number-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.manual-downloads { display:grid;gap:8px;margin-bottom:10px; }
.manual-download-row { display:grid;grid-template-columns:1fr 1.5fr 38px;gap:8px; }
.manual-download-row input { min-height:43px;border:1px solid var(--pmv-border-theme);border-radius:9px;background:var(--pmv-surface);color:var(--pmv-text-theme);padding:0 10px; }
.asset-upload-form { display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px; }
.assets-list { display:grid;gap:8px; }
.assets-list article { display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--pmv-border-theme);border-radius:11px; }
.assets-list article>div { flex:1;display:grid; }.assets-list small{color:var(--pmv-muted-theme)}
@media(max-width:1150px){.product-edit-grid{grid-template-columns:1fr}.product-edit-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.product-save-sticky{grid-column:1/-1}.parameter-common{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.product-edit-side{grid-template-columns:1fr}.parameter-common,.parameter-number-grid{grid-template-columns:1fr}.parameter-option-row{grid-template-columns:1fr}.manual-download-row{grid-template-columns:1fr}.assets-list article{align-items:stretch;flex-direction:column}.assets-list article>*{width:100%}}

.admin-message-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:19px; }
.admin-message-filters a { display:inline-flex; align-items:center; gap:8px; min-height:39px; padding:0 13px; border:1px solid var(--pmv-border-theme); border-radius:999px; color:var(--pmv-muted-theme); font-size:13px; font-weight:700; text-decoration:none; transition:border-color .18s ease,background-color .18s ease,color .18s ease; }
.admin-message-filters a span { display:grid; min-width:22px; height:22px; padding:0 6px; box-sizing:border-box; place-items:center; border:1px solid var(--pmv-border-theme); border-radius:999px; background:var(--pmv-surface-soft); color:var(--pmv-text-theme); font-size:10px; font-variant-numeric:tabular-nums; line-height:1; }
.admin-message-filters a:hover { border-color:#9d58d7; color:var(--pmv-text-theme); }
.admin-message-filters a.is-active { border-color:#8b18ed; background:#8b18ed; color:#fff; }
.admin-message-filters a.is-active span { border-color:#fff; background:#fff; color:#6812bb; }
.admin-message-filters a:focus-visible { outline:3px solid rgba(139,24,237,.24); outline-offset:2px; }
.admin-messages-list { display:grid; gap:13px; }
.admin-message-card { padding:19px; border:1px solid var(--pmv-border-theme); border-radius:16px; background:var(--pmv-surface-soft); }
.admin-message-card.is-new { border-left:4px solid #9519ef; }
.admin-message-card header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.admin-message-card h3 { margin:5px 0 4px; }
.admin-message-card header p { margin:0; color:var(--pmv-muted-theme); font-size:12px; }
.admin-message-type { color:#8518ea; font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.admin-message-status { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-size:11px; font-weight:700; }
.admin-message-status::before { content:""; width:8px; height:8px; border-radius:50%; background:#88818f; }
.admin-message-status--new::before { background:#8617e9; }
.admin-message-status--read::before { background:#20a660; }
.admin-message-status--archived::before { background:#88818f; }
.admin-message-contact { display:flex; flex-wrap:wrap; gap:9px 17px; margin:16px 0; color:var(--pmv-muted-theme); font-size:12px; }
.admin-message-contact a,.admin-message-contact span { display:inline-flex; align-items:center; gap:7px; color:inherit; }
.admin-message-body { margin-bottom:17px; padding:15px; border-radius:12px; background:var(--pmv-surface); color:var(--pmv-text-theme); font-size:14px; line-height:1.65; }
@media(max-width:650px){.admin-message-card header{flex-direction:column}.admin-message-card .admin-actions>*{width:100%}}

/* Customer order center */
.account-customer-page { background:radial-gradient(circle at 90% 0,rgba(169,34,255,.12),transparent 34%),radial-gradient(circle at 0 34%,rgba(45,0,255,.08),transparent 28%),var(--pmv-page-bg); }
.account-top--customer { margin-bottom:20px; }
.account-brand { display:flex; align-items:center; gap:12px; color:var(--pmv-text-theme); text-decoration:none; }
.account-brand__mark { display:grid; width:48px; height:48px; flex:0 0 48px; place-items:center; border-radius:15px; background:linear-gradient(135deg,#6818ff,#d10cff 62%,#ff4aaf); box-shadow:0 10px 26px rgba(117,24,255,.24); }
.account-brand__mark img { display:block; width:24px; height:31px; object-fit:contain; }
.account-brand>span:last-child { display:grid; line-height:1; }
.account-brand strong { color:#8d18f3; font-size:25px; font-weight:800; }
.account-brand small { margin-top:6px; color:var(--pmv-muted-theme); font-size:8px; font-weight:800; letter-spacing:.18em; }
.account-welcome { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(500px,1.2fr); gap:34px; align-items:center; padding:clamp(28px,5vw,48px); border-radius:28px; background:linear-gradient(125deg,#4e12d8,#8c14ef 50%,#d30bda); color:#fff; box-shadow:0 25px 70px rgba(87,24,160,.22); }
.account-welcome::before,.account-welcome::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.09); }
.account-welcome::before { width:260px; height:260px; right:-95px; top:-150px; }
.account-welcome::after { width:150px; height:150px; left:36%; bottom:-115px; }
.account-welcome>div { position:relative; z-index:1; }
.account-eyebrow { display:block; margin-bottom:8px; color:#8b18ed; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.account-welcome .account-eyebrow { color:#f0d8ff; }
.account-welcome h1 { margin:0; font-size:clamp(29px,4vw,45px); line-height:1.08; }
.account-welcome p { max-width:520px; margin:13px 0 0; color:rgba(255,255,255,.78); line-height:1.65; }
.account-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.account-stats article { min-width:0; padding:17px 14px; border:1px solid rgba(255,255,255,.16); border-radius:17px; background:rgba(255,255,255,.11); backdrop-filter:blur(10px); }
.account-stats i { display:block; margin-bottom:12px; color:#fff; font-size:17px; }
.account-stats span { display:block; color:rgba(255,255,255,.7); font-size:10px; font-weight:600; }
.account-stats strong { display:block; overflow:hidden; margin-top:4px; color:#fff; font-size:18px; text-overflow:ellipsis; white-space:nowrap; }
.account-navigation { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 30px; padding:8px; border:1px solid var(--pmv-border-theme); border-radius:16px; background:var(--pmv-surface); box-shadow:var(--pmv-shadow-theme); }
.account-navigation a { display:inline-flex; min-height:42px; align-items:center; gap:9px; padding:0 15px; border-radius:11px; color:var(--pmv-muted-theme); font-size:13px; font-weight:700; text-decoration:none; }
.account-navigation a:hover { background:var(--pmv-surface-soft); color:#8517e7; }
.account-section-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:20px; }
.account-section-head h2 { margin:0; font-size:clamp(23px,3vw,31px); }
.account-section-head p { margin:7px 0 0; color:var(--pmv-muted-theme); font-size:13px; line-height:1.55; }
.account-notice { margin-bottom:24px; }
.account-order-detail,.account-orders-section,.account-settings-section { scroll-margin-top:18px; margin-bottom:28px; padding:clamp(20px,4vw,30px); border:1px solid var(--pmv-border-theme); border-radius:24px; background:var(--pmv-surface); box-shadow:var(--pmv-shadow-theme); }
.account-back-link { display:inline-flex; align-items:center; gap:7px; margin-bottom:10px; color:#8618e8; font-size:12px; font-weight:800; text-decoration:none; }
.customer-status { display:inline-flex; min-height:auto; align-items:center; gap:9px; padding:3px 0; border:0; border-radius:0; background:transparent; color:#675e6d; font-size:13px; font-weight:800; line-height:1.35; white-space:nowrap; }
.customer-status::before { content:""; width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:currentColor; box-shadow:0 0 0 3px color-mix(in srgb,currentColor 16%,transparent); }
.customer-status--nowe,.customer-status--oczekuje { background:transparent; color:#8a25e8; }
.customer-status--oplacone { background:transparent; color:#15945a; }
.customer-status--w_realizacji { background:transparent; color:#b36b00; }
.customer-status--wyslane { background:transparent; color:#2587d8; }
.customer-status--zrealizowane { background:transparent; color:#15945a; }
.customer-status--anulowane { background:transparent; color:#d53357; }
.order-timeline { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:28px 0; padding:0; list-style:none; }
.order-timeline li { position:relative; min-width:0; text-align:center; }
.order-timeline li:not(:last-child)::after { content:""; position:absolute; z-index:0; top:18px; left:50%; width:100%; height:3px; background:var(--pmv-border-theme); }
.order-timeline li.is-done:not(:last-child)::after { background:#8e18ee; }
.order-timeline__dot { position:relative; z-index:1; display:grid; width:38px; height:38px; margin:0 auto 11px; place-items:center; border:3px solid var(--pmv-surface); border-radius:50%; background:var(--pmv-surface-soft); color:var(--pmv-muted-theme); box-shadow:0 0 0 1px var(--pmv-border-theme); }
.order-timeline li.is-done .order-timeline__dot,.order-timeline li.is-current .order-timeline__dot { background:linear-gradient(135deg,#6b18ff,#d10cff); color:#fff; box-shadow:0 0 0 1px #8c18ec,0 7px 18px rgba(127,24,230,.24); }
.order-timeline li.is-current .order-timeline__dot { animation:accountPulse 2s infinite; }
.order-timeline strong,.order-timeline small { display:block; padding:0 5px; }
.order-timeline strong { font-size:11px; }
.order-timeline small { margin-top:4px; color:var(--pmv-muted-theme); font-size:9px; line-height:1.4; }
@keyframes accountPulse { 50% { box-shadow:0 0 0 7px rgba(140,24,236,.12),0 7px 18px rgba(127,24,230,.24); } }
.account-cancelled { display:flex; gap:13px; align-items:center; margin:24px 0; padding:16px; border-radius:15px; background:#fff0f3; color:#981d39; }
.account-cancelled i { font-size:22px; }.account-cancelled div { display:grid; gap:3px; }.account-cancelled span { font-size:12px; }
.account-order-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:22px 0; }
.account-order-facts article { min-width:0; padding:15px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }
.account-order-facts span,.account-order-facts small { display:block; color:var(--pmv-muted-theme); font-size:10px; }
.account-order-facts strong { display:block; overflow:hidden; margin-top:5px; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.account-order-facts small { margin-top:4px; }
.customer-tracking-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:15px; align-items:center; margin:20px 0 24px; padding:19px; border-radius:18px; background:linear-gradient(120deg,#20152b,#342041); color:#fff; }
.customer-tracking-card__icon { display:grid; width:48px; height:48px; place-items:center; border-radius:14px; background:linear-gradient(135deg,#7a1cff,#d10cff); font-size:19px; }
.customer-tracking-card>div { display:grid; gap:3px; min-width:0; }.customer-tracking-card div span,.customer-tracking-card div small { color:#bfb3c7; font-size:11px; }.customer-tracking-card div strong { overflow:hidden; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:15px; text-overflow:ellipsis; }
.account-detail-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr); gap:17px; }
.account-detail-side { display:grid; align-content:start; gap:17px; }
.account-detail-card { overflow:hidden; padding:19px; border:1px solid var(--pmv-border-theme); border-radius:17px; background:var(--pmv-surface-soft); }
.account-detail-card__head { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:15px; }
.account-detail-card__head h3 { display:flex; gap:9px; align-items:center; margin:0; font-size:15px; }.account-detail-card__head h3 i { color:#8b18ed; }.account-detail-card__head>span { display:grid; min-width:25px; height:25px; place-items:center; border-radius:999px; background:var(--pmv-surface); color:var(--pmv-muted-theme); font-size:10px; font-weight:800; }
.customer-items { display:grid; }
.customer-item { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:15px; align-items:center; padding:15px 0; border-bottom:1px solid var(--pmv-border-theme); }
.customer-item>div { display:grid; gap:4px; min-width:0; }.customer-item div strong { font-size:13px; }.customer-item div small { color:var(--pmv-muted-theme); font-size:10px; line-height:1.5; }.customer-item>span { color:var(--pmv-muted-theme); font-size:11px; }.customer-item>strong { min-width:78px; text-align:right; font-size:13px; }
.customer-items-total { display:flex; justify-content:space-between; gap:15px; padding-top:17px; }.customer-items-total span { color:var(--pmv-muted-theme); font-size:12px; }.customer-items-total strong { color:#8617e9; font-size:18px; }
.account-address { margin:0; font-size:13px; line-height:1.8; }.account-muted { margin:0; color:var(--pmv-muted-theme); font-size:12px; line-height:1.6; }
.customer-documents { display:grid; gap:8px; }.customer-documents a { display:flex; gap:11px; align-items:center; padding:11px; border:1px solid var(--pmv-border-theme); border-radius:12px; background:var(--pmv-surface); color:var(--pmv-text-theme); text-decoration:none; }.customer-documents a>i:first-child { color:#d91d4b; font-size:20px; }.customer-documents a>i:last-child { margin-left:auto; color:#8a18eb; }.customer-documents span { display:grid; gap:2px; }.customer-documents strong { font-size:11px; }.customer-documents small { color:var(--pmv-muted-theme); font-size:9px; }
.account-help-card>div { display:flex; gap:11px; align-items:center; }.account-help-card>div>i { color:#8a18eb; font-size:22px; }.account-help-card span { display:grid; gap:3px; }.account-help-card small { color:var(--pmv-muted-theme); font-size:10px; }.account-help-card>a { display:inline-flex; margin-top:13px; color:#8617e8; font-size:11px; font-weight:800; text-decoration:none; }
.account-order-count { display:inline-flex; min-height:37px; align-items:center; padding:0 14px; border-radius:999px; background:var(--pmv-surface-soft); color:var(--pmv-muted-theme); font-size:12px; font-weight:800; }
.customer-orders-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.customer-order-card { min-width:0; padding:22px; border:1px solid var(--pmv-border-theme); border-radius:18px; background:var(--pmv-surface-soft); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.customer-order-card:hover { transform:translateY(-2px); border-color:#b875e4; box-shadow:0 14px 30px rgba(75,30,99,.1); }
.customer-order-card__top { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }.customer-order-card__top>div { display:grid; gap:4px; min-width:0; }.customer-order-card__top div>span { color:var(--pmv-muted-theme); font-size:10px; font-weight:600; }.customer-order-card__top small { color:var(--pmv-muted-theme); font-size:11px; }.customer-order-card__top div>strong { overflow:hidden; font-size:17px; line-height:1.35; text-overflow:ellipsis; }
.customer-order-card__progress { overflow:hidden; height:7px; margin:18px 0; border-radius:99px; background:var(--pmv-border-theme); }.customer-order-card__progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6818ff,#d10cff); }
.customer-order-card__meta { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.customer-order-card__meta>span { display:grid; min-width:0; grid-template-columns:32px minmax(0,1fr); grid-template-rows:auto auto; column-gap:9px; align-items:center; }.customer-order-card__meta i { grid-row:1/3; display:grid; width:32px; height:32px; place-items:center; border-radius:9px; background:#eee2ff; color:#8118df; font-size:14px; }.customer-order-card__meta>span:nth-child(2) i { background:#e1efff; color:#1975c3; }.customer-order-card__meta>span:nth-child(3) i { background:#fff0d9; color:#a86400; }.customer-order-card__meta>span:nth-child(4) i { background:#ffe2f2; color:#c51b78; }.customer-order-card__meta small { color:var(--pmv-muted-theme); font-size:10px; line-height:1.2; }.customer-order-card__meta strong { overflow:hidden; font-size:12px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.customer-order-card__shipment { display:flex; gap:12px; align-items:center; margin-top:17px; padding:14px; border-radius:12px; background:var(--pmv-surface); }.customer-order-card__shipment>i { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; border-radius:10px; background:#eee2ff; color:#8618e8; font-size:15px; }.customer-order-card__shipment span { display:grid; min-width:0; gap:2px; }.customer-order-card__shipment small { color:var(--pmv-muted-theme); font-size:10px; }.customer-order-card__shipment strong { overflow:hidden; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; text-overflow:ellipsis; }
.customer-order-card__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }.customer-order-card__actions .button-primary,.customer-order-card__actions .button-secondary { min-height:44px; gap:9px; padding:0 16px; font-size:12px; font-weight:800; line-height:1.2; white-space:nowrap; }.customer-order-card__actions i { flex:0 0 auto; width:15px; font-size:13px; text-align:center; }.customer-order-card__actions span { display:block; }
.account-empty-orders { display:grid; justify-items:center; padding:45px 20px; text-align:center; }.account-empty-orders>span { display:grid; width:68px; height:68px; place-items:center; border-radius:22px; background:#eee2ff; color:#8217df; font-size:25px; }.account-empty-orders h3 { margin:18px 0 7px; }.account-empty-orders p { max-width:480px; margin:0 0 20px; color:var(--pmv-muted-theme); line-height:1.6; }
.account-grid--settings { grid-template-columns:repeat(3,minmax(0,1fr)); }.account-grid--settings .account-card { padding:22px; }.account-card__icon { display:grid; width:42px; height:42px; margin-bottom:15px; place-items:center; border-radius:13px; background:#eee2ff; color:#8217df; }.account-card h3 { margin:0 0 10px; }.account-profile-name { display:grid; gap:3px; margin:0 0 10px; }.account-profile-name span { color:var(--pmv-muted-theme); font-size:12px; }
.settings-logo-upload input[type="file"] { display:block; width:100%; box-sizing:border-box; padding:12px; border:1px dashed #a969d8; border-radius:12px; background:var(--pmv-surface-soft); color:var(--pmv-text-theme); }
.account-profile-avatar { display:grid; width:68px; height:68px; margin-bottom:15px; overflow:hidden; place-items:center; border:3px solid var(--pmv-surface); border-radius:50%; background:linear-gradient(135deg,#eee2ff,#fbe7ff); box-shadow:0 8px 24px rgba(103,24,178,.16); color:#8217df; font-size:24px; }
.account-profile-avatar img { width:100%; height:100%; object-fit:cover; }
.account-avatar-form { display:grid; gap:9px; margin:15px 0 10px; padding:13px; border:1px solid var(--pmv-border-theme); border-radius:12px; background:var(--pmv-surface-soft); }
.account-avatar-form label { font-size:10px; font-weight:800; }
.account-avatar-form input[type="file"] { width:100%; box-sizing:border-box; padding:9px; border:1px dashed #a969d8; border-radius:10px; background:var(--pmv-surface); color:var(--pmv-text-theme); font-size:10px; }
.account-avatar-form .button-primary { min-height:40px; }
html[data-theme="dark"] .account-cancelled { background:#421d29; color:#ffb7c6; }
html[data-theme="dark"] .account-empty-orders>span,html[data-theme="dark"] .account-card__icon { background:#302044; color:#dfb5ff; }
html[data-theme="dark"] .account-profile-avatar { background:#302044; color:#dfb5ff; }
html[data-theme="dark"] .customer-order-card__meta i,html[data-theme="dark"] .customer-order-card__shipment>i { background:#302044; color:#d9adff; }
html[data-theme="dark"] .customer-order-card__meta>span:nth-child(2) i { background:#172f49; color:#8bc8ff; }
html[data-theme="dark"] .customer-order-card__meta>span:nth-child(3) i { background:#3d2d17; color:#ffc86e; }
html[data-theme="dark"] .customer-order-card__meta>span:nth-child(4) i { background:#3d1f32; color:#ff9bd3; }
html[data-theme="dark"] .customer-status--nowe,html[data-theme="dark"] .customer-status--oczekuje { color:#ca8cff; }
html[data-theme="dark"] .customer-status--oplacone,html[data-theme="dark"] .customer-status--zrealizowane { color:#6bddaa; }
html[data-theme="dark"] .customer-status--w_realizacji { color:#ffc462; }
html[data-theme="dark"] .customer-status--wyslane { color:#75c4ff; }
html[data-theme="dark"] .customer-status--anulowane { color:#ff7895; }
@media(max-width:1050px){.account-welcome{grid-template-columns:1fr}.account-stats{max-width:none}.account-detail-grid{grid-template-columns:1fr}.account-detail-side{grid-template-columns:repeat(3,minmax(0,1fr))}.account-grid--settings{grid-template-columns:repeat(2,minmax(0,1fr))}.account-grid--settings .account-card:last-child{grid-column:1/-1}}
@media(max-width:820px){.customer-orders-list{grid-template-columns:1fr}.order-timeline{grid-template-columns:repeat(3,1fr);row-gap:20px}.order-timeline li:nth-child(3)::after{display:none}.account-order-facts{grid-template-columns:repeat(2,1fr)}.account-detail-side{grid-template-columns:1fr}.account-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.account-top--customer .button-row{width:100%}.account-welcome{padding:25px 20px;border-radius:21px}.account-navigation{display:grid;grid-template-columns:1fr}.account-navigation a{justify-content:center}.account-section-head{flex-direction:column}.account-order-detail,.account-orders-section,.account-settings-section{padding:18px 14px;border-radius:19px}.order-timeline{grid-template-columns:1fr;text-align:left}.order-timeline li{display:flex;gap:12px;text-align:left}.order-timeline li:not(:last-child)::after{top:38px;bottom:-20px;left:18px;width:3px;height:auto}.order-timeline li:nth-child(3)::after{display:block}.order-timeline__dot{flex:0 0 38px;margin:0}.order-timeline strong,.order-timeline small{padding:0}.account-order-facts{grid-template-columns:1fr}.customer-tracking-card{grid-template-columns:auto 1fr}.customer-tracking-card .button-primary{grid-column:1/-1;width:100%}.customer-item{grid-template-columns:1fr auto}.customer-item>div{grid-column:1/-1}.customer-order-card__meta{grid-template-columns:repeat(2,1fr);gap:13px}.customer-order-card__actions>*{width:100%}.account-grid--settings{grid-template-columns:1fr}.account-grid--settings .account-card:last-child{grid-column:auto}.account-stats strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.order-timeline li.is-current .order-timeline__dot{animation:none}.customer-order-card{transition:none}}

/* Obszar realizacji zamówienia: pliki, rozmowa i wyceny */
.order-workspace-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:4px 0 24px; padding:7px; border:1px solid var(--pmv-border-theme); border-radius:15px; background:var(--pmv-surface-soft); }
.order-workspace-tabs button { display:inline-flex; min-height:43px; align-items:center; gap:8px; padding:0 15px; border:0; border-radius:11px; background:transparent; color:var(--pmv-muted-theme); font:700 12px Poppins,Arial,sans-serif; cursor:pointer; }
.order-workspace-tabs button>span { display:grid; min-width:22px; height:22px; place-items:center; border-radius:99px; background:var(--pmv-surface); font-size:10px; }
.order-workspace-tabs button.is-active { background:linear-gradient(90deg,#d10cff,#5014ff); color:#fff; box-shadow:0 8px 20px rgba(116,21,255,.2); }
.order-workspace-tabs button.is-active>span { background:rgba(255,255,255,.2); }
.order-workspace-panel[hidden] { display:none !important; }
.order-workspace-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:20px; }
.order-workspace-heading h3 { margin:0; font-size:24px; }.order-workspace-heading p { max-width:680px; margin:7px 0 0; color:var(--pmv-muted-theme); font-size:13px; line-height:1.6; }
.workspace-callout { display:inline-flex; max-width:290px; align-items:center; gap:9px; padding:11px 13px; border-radius:12px; background:#fff1d8; color:#8d5800; font-size:11px; font-weight:800; line-height:1.4; }
.order-upload-box { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; margin-bottom:20px; padding:18px; border:1px dashed #a968da; border-radius:17px; background:var(--pmv-surface-soft); }
.order-upload-box label { grid-column:1/-1; display:flex; gap:13px; align-items:center; cursor:pointer; }.order-upload-box label>span { display:grid; width:46px; height:46px; flex:0 0 46px; place-items:center; border-radius:13px; background:#eee2ff; color:#8217df; font-size:19px; }
.order-upload-box label strong,.order-upload-box label small { display:block; }.order-upload-box label small { margin-top:3px; color:var(--pmv-muted-theme); font-size:10px; line-height:1.5; }
.order-upload-box input[type="file"],.admin-order-upload input[type="file"] { min-width:0; padding:11px; border:1px solid var(--pmv-border-theme); border-radius:11px; background:var(--pmv-surface); color:var(--pmv-text-theme); }
.workspace-empty { display:grid; justify-items:center; padding:35px 20px; color:var(--pmv-muted-theme); text-align:center; }.workspace-empty>i { margin-bottom:12px; color:#9b52d0; font-size:28px; }.workspace-empty strong { color:var(--pmv-text-theme); }.workspace-empty span { margin-top:5px; font-size:11px; }
.order-files-list,.admin-order-files { display:grid; gap:11px; }
.order-file-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:13px; align-items:center; padding:15px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }
.order-file-card__icon,.admin-order-file__head>span:first-child { display:grid; width:40px; height:40px; place-items:center; border-radius:11px; background:#eee2ff; color:#8217df; }
.order-file-card__main { display:grid; min-width:0; gap:4px; }.order-file-card__main>strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.order-file-card__main small { color:var(--pmv-muted-theme); font-size:9px; }.order-file-card__main p { margin:5px 0 0; padding:9px 11px; border-radius:9px; background:var(--pmv-surface); font-size:11px; line-height:1.55; }
.file-review-status,.quote-status { display:inline-flex; width:max-content; align-items:center; gap:6px; padding:6px 9px; border-radius:99px; background:#eee9f3; color:#665d6d; font-size:10px; font-weight:800; white-space:nowrap; }
.file-review-status::before,.quote-status::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.file-review-status--approved,.quote-status--accepted { background:#ddf7e8; color:#167444; }
.file-review-status--changes_required,.quote-status--rejected { background:#ffe3e8; color:#a41c38; }
.file-review-status--pending,.quote-status--pending { background:#fff1d8; color:#8d5800; }
.customer-quotes { display:grid; gap:12px; margin-bottom:22px; }.customer-quote { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:16px; align-items:center; padding:18px; border:1px solid #ba75e7; border-radius:16px; background:linear-gradient(120deg,var(--pmv-surface-soft),var(--pmv-surface)); }
.customer-quote>div:first-child { display:grid; gap:3px; }.customer-quote>div:first-child span,.customer-quote>div:first-child small { color:var(--pmv-muted-theme); font-size:10px; }.customer-quote>div:first-child strong { color:#8418e8; font-size:20px; }.customer-quote>p { margin:0; font-size:12px; line-height:1.6; }
.customer-quote__actions { grid-column:1/-1; display:flex; gap:9px; }.customer-quote__actions form { margin:0; }
.order-conversation,.admin-order-conversation { display:grid; gap:10px; margin-bottom:15px; padding:15px; border:1px solid var(--pmv-border-theme); border-radius:16px; background:var(--pmv-surface-soft); }
.conversation-message { width:min(86%,700px); padding:13px 15px; border:1px solid var(--pmv-border-theme); border-radius:15px 15px 15px 4px; background:var(--pmv-surface); }
.conversation-message.is-customer { justify-self:end; border:0; border-radius:15px 15px 4px 15px; background:linear-gradient(120deg,#6d18ff,#b90de7); color:#fff; }
.conversation-message__meta { display:flex; justify-content:space-between; gap:12px; align-items:center; }.conversation-message__meta strong { font-size:10px; }.conversation-message__meta span { color:var(--pmv-muted-theme); font-size:9px; }.conversation-message.is-customer .conversation-message__meta span { color:rgba(255,255,255,.72); }
.conversation-message>p { margin:8px 0 0; font-size:12px; line-height:1.65; }.conversation-email-error { display:block; margin-top:8px; color:#b42342; font-size:9px; }
.conversation-compose { display:grid; gap:10px; padding:16px; border:1px solid var(--pmv-border-theme); border-radius:16px; background:var(--pmv-surface-soft); }.conversation-compose label { font-size:12px; font-weight:800; }.conversation-compose textarea,.admin-file-review-form textarea,.admin-design-quote textarea { width:100%; box-sizing:border-box; padding:12px; border:1px solid var(--pmv-border-theme); border-radius:11px; background:var(--pmv-surface); color:var(--pmv-text-theme); font:inherit; resize:vertical; }.conversation-compose button { justify-self:start; }

/* Panel obsługi realizacji */
.admin-order-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; margin:24px 0; }
.order-workspace-admin-card { min-width:0; padding:19px; border:1px solid var(--pmv-border-theme); border-radius:17px; background:var(--pmv-surface-soft); }
.order-workspace-admin-card .admin-section-head h3 { margin:0; }
.admin-order-upload { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; margin-bottom:15px; }
.admin-order-file { padding:14px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface); }
.admin-order-file__head { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:11px; align-items:center; }.admin-order-file__head>div { display:grid; min-width:0; gap:3px; }.admin-order-file__head strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.admin-order-file__head small { color:var(--pmv-muted-theme); font-size:9px; }
.admin-file-review-form { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:10px; align-items:end; margin-top:12px; padding-top:12px; border-top:1px solid var(--pmv-border-theme); }.admin-file-review-form .form-group { margin:0; }
.admin-email-log { display:block; margin-top:8px; color:var(--pmv-muted-theme); font-size:9px; }.admin-email-log--sent { color:#167444; }.admin-email-log--failed { color:#b42342; }
.admin-design-quote { margin-top:17px; padding-top:17px; border-top:1px solid var(--pmv-border-theme); }.admin-design-quote h4 { margin:0; }.admin-design-quote>div>p { margin:4px 0 12px; }
.admin-design-quote>form { display:grid; grid-template-columns:150px minmax(0,1fr) auto; gap:10px; align-items:end; }.admin-design-quote .form-group { margin:0; }
.admin-quotes-list { display:grid; gap:8px; margin-top:14px; }.admin-quotes-list article { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; padding:11px; border:1px solid var(--pmv-border-theme); border-radius:11px; background:var(--pmv-surface); }.admin-quotes-list article>div { display:grid; }.admin-quotes-list small { color:var(--pmv-muted-theme); font-size:9px; }.admin-quotes-list p { margin:0; font-size:10px; line-height:1.5; }

/* Konta zespołu i uprawnienia */
.team-users-list { display:grid; gap:13px; }.team-user-card { padding:17px; border:1px solid var(--pmv-border-theme); border-radius:15px; background:var(--pmv-surface-soft); }
.team-user-card__identity { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:13px; align-items:center; }.team-user-card__avatar { display:grid; width:44px; height:44px; place-items:center; border-radius:13px; background:#eee2ff; color:#8217df; }.team-user-card__identity>div { display:grid; min-width:0; gap:3px; }.team-user-card__identity>div span,.team-user-card__identity>div small { color:var(--pmv-muted-theme); font-size:10px; }
.team-user-card__avatar { overflow:hidden; }.team-user-card__avatar img { width:100%; height:100%; object-fit:cover; }
.team-user-card__controls { display:grid; gap:14px; margin-top:14px; padding-top:14px; border-top:1px solid var(--pmv-border-theme); }.team-role-form { display:flex; gap:10px; align-items:end; }.team-role-form label { display:grid; gap:6px; min-width:230px; font-size:11px; font-weight:700; }
.team-permissions-form { display:grid; gap:12px; }.team-permissions-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.team-permissions-grid .admin-check-row { padding:11px; border:1px solid var(--pmv-border-theme); border-radius:11px; background:var(--pmv-surface); }.team-permissions-grid .admin-check-row span { display:grid; gap:3px; }.team-permissions-grid small { color:var(--pmv-muted-theme); font-size:9px; font-weight:500; line-height:1.45; }
html[data-theme="dark"] .workspace-callout { background:#3d2d17; color:#ffc86e; }html[data-theme="dark"] .order-file-card__icon,html[data-theme="dark"] .admin-order-file__head>span:first-child,html[data-theme="dark"] .team-user-card__avatar,html[data-theme="dark"] .order-upload-box label>span { background:#302044; color:#dfb5ff; }

@media(max-width:1100px){.admin-order-workspace{grid-template-columns:1fr}.admin-file-review-form,.admin-design-quote>form{grid-template-columns:1fr}.admin-file-review-form button,.admin-design-quote>form button{justify-self:start}}
@media(max-width:760px){.order-workspace-heading{flex-direction:column}.order-upload-box,.admin-order-upload{grid-template-columns:1fr}.order-file-card,.admin-order-file__head{grid-template-columns:auto minmax(0,1fr)}.order-file-card .file-review-status,.admin-order-file__head .file-review-status{grid-column:2}.order-file-card>a,.admin-order-file__head>a{grid-column:1/-1}.customer-quote{grid-template-columns:1fr}.customer-quote__actions{grid-column:auto}.conversation-message{width:92%}.team-permissions-grid{grid-template-columns:1fr}.team-role-form{align-items:stretch;flex-direction:column}.team-role-form label{min-width:0}.team-user-card__identity{grid-template-columns:auto 1fr}.team-user-card__identity>.admin-badge{grid-column:2}}
@media(max-width:520px){.order-workspace-tabs{display:grid;grid-template-columns:1fr}.order-workspace-tabs button{justify-content:center}.customer-quote__actions{display:grid}.customer-quote__actions form,.customer-quote__actions button{width:100%}}

/* Edytor menu i strony głównej */
.content-editor-toolbar { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:20px; padding:18px 20px; border:1px solid #d7b8f2; border-radius:17px; background:linear-gradient(120deg,rgba(209,12,255,.09),rgba(45,0,255,.06)); }
.content-editor-toolbar>div { display:grid; gap:4px; }
.content-editor-toolbar strong { font-size:16px; }
.content-editor-toolbar span { color:var(--pmv-muted-theme); font-size:11px; }
.content-editor-section+.content-editor-section { margin-top:22px; }
.content-menu-list,.home-sections-editor { display:grid; gap:13px; }
.content-menu-row { display:grid; grid-template-columns:38px minmax(150px,.8fr) minmax(220px,1.3fr) minmax(135px,.6fr) auto; gap:12px; align-items:end; padding:14px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }
.content-menu-row .form-group,.content-add-form .form-group,.home-section-editor-card .form-group { margin:0; }
.content-order-number { display:grid; width:32px; height:32px; place-items:center; align-self:center; border-radius:10px; background:#eee2ff; color:#7617c6; font-size:11px; font-weight:800; }
.content-inline-checks { display:flex; flex-wrap:wrap; gap:7px 14px; align-items:center; }
.content-inline-checks .admin-check-row { min-height:30px; font-size:11px; }
.content-row-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.content-row-actions .button-primary,.content-row-actions .button-secondary { min-height:42px; padding:0 13px; font-size:11px; }
.content-icon-button { width:42px; padding:0 !important; }
.content-row-actions button:disabled { opacity:.35; cursor:not-allowed; }
.content-delete-button { border-color:#edb9c4; color:#b42342; }
.content-add-form { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(230px,1.4fr) auto auto; gap:12px; align-items:end; margin-top:17px; padding:16px; border:1px dashed #b979e8; border-radius:14px; background:rgba(139,24,239,.035); }
.home-section-editor-card { overflow:hidden; border:1px solid var(--pmv-border-theme); border-radius:16px; background:var(--pmv-surface-soft); }
.home-section-editor-card.is-hidden { opacity:.76; }
.home-section-editor-card>header { display:flex; justify-content:space-between; gap:15px; align-items:center; padding:15px 17px; border-bottom:1px solid var(--pmv-border-theme); background:var(--pmv-surface); }
.home-section-editor-card>header>div { display:flex; gap:12px; align-items:center; }
.home-section-editor-card>header>div>div { display:grid; gap:3px; }
.home-section-editor-card>header small { color:var(--pmv-muted-theme); font-size:9px; }
.home-section-editor-card>.admin-form-grid { padding:17px; }
.home-section-editor-card>footer { padding:14px 17px; border-top:1px solid var(--pmv-border-theme); background:var(--pmv-surface); }
.content-image-editor { display:grid; grid-template-columns:220px minmax(0,1fr); gap:17px; padding:15px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface); }
.content-image-preview { display:grid; min-height:160px; overflow:hidden; place-items:center; border-radius:12px; background:var(--pmv-surface-soft); }
.content-image-preview img { display:block; width:100%; height:100%; max-height:220px; object-fit:cover; }
.content-image-preview span { display:grid; justify-items:center; gap:8px; color:var(--pmv-muted-theme); font-size:11px; }
.content-image-preview i { font-size:30px; }
.content-image-fields { display:grid; align-content:start; gap:12px; }
.content-image-fields input[type="file"] { display:block; width:100%; box-sizing:border-box; padding:11px; border:1px dashed #a969d8; border-radius:11px; background:var(--pmv-surface-soft); color:var(--pmv-text-theme); }
html[data-theme="dark"] .content-editor-toolbar { border-color:#573268; background:linear-gradient(120deg,rgba(209,12,255,.12),rgba(45,0,255,.1)); }
html[data-theme="dark"] .content-order-number { background:#302044; color:#dfb5ff; }
html[data-theme="dark"] .content-delete-button { border-color:#6d3442; color:#ff9aae; }
@media(max-width:1350px){.content-menu-row{grid-template-columns:38px minmax(150px,.8fr) minmax(220px,1.2fr)}.content-menu-row .content-inline-checks,.content-menu-row .content-row-actions{grid-column:2/-1}}
@media(max-width:800px){.content-editor-toolbar,.admin-section-head{align-items:stretch;flex-direction:column}.content-menu-row,.content-add-form,.content-image-editor{grid-template-columns:1fr}.content-menu-row .content-order-number{grid-row:auto}.content-menu-row .content-inline-checks,.content-menu-row .content-row-actions{grid-column:auto}.content-add-form .button-primary{width:100%}.home-section-editor-card>header{align-items:flex-start;flex-direction:column}.home-section-editor-card>footer .button-primary,.home-section-editor-card>footer .button-secondary{flex:1}.content-image-preview{max-height:240px}}
@media(max-width:520px){.content-row-actions{display:grid;grid-template-columns:repeat(2,1fr)}.content-row-actions .button-primary{grid-column:1/-1}.content-icon-button{width:100%}}

/* Chat klienta w panelu obsługi */
.support-chat-stats { margin-bottom:22px; }.support-inbox-grid { display:grid; grid-template-columns:minmax(300px,.78fr) minmax(0,1.45fr); gap:20px; align-items:start; }
.support-chat-sidebar { position:sticky; top:18px; max-height:calc(100vh - 36px); overflow:auto; }.support-chat-list { display:grid; gap:8px; }
.support-chat-list__item { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:12px; border:1px solid var(--pmv-border-theme); border-radius:13px; background:var(--pmv-surface-soft); color:var(--pmv-text-theme); text-decoration:none; transition:border-color .18s ease,background .18s ease; }
.support-chat-list__item:hover,.support-chat-list__item.is-active { border-color:#8a18eb; background:color-mix(in srgb,var(--pmv-surface) 82%,#8a18eb 18%); }.support-chat-list__avatar { display:grid; width:38px; height:38px; place-items:center; border-radius:50%; background:#eee2ff; color:#8217df; }
.support-chat-list__item>span:nth-child(2) { display:grid; min-width:0; gap:2px; }.support-chat-list__item strong,.support-chat-list__item small,.support-chat-list__item em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.support-chat-list__item strong { font-size:11px; }.support-chat-list__item small { color:var(--pmv-muted-theme); font-size:9px; }.support-chat-list__item em { color:var(--pmv-muted-theme); font-size:8px; font-style:normal; }
.support-chat-state { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; color:#7b7281; font-size:9px; }.support-chat-state::before { content:""; width:7px; height:7px; border-radius:50%; background:#8c8491; }.support-chat-state--waiting { color:#8b17e9; }.support-chat-state--waiting::before { background:#9a1af2; box-shadow:0 0 0 3px rgba(154,26,242,.13); }.support-chat-state--active { color:#168254; }.support-chat-state--active::before { background:#20ad6e; }.support-chat-state--closed::before { background:#8d8791; }
.support-chat-history-box { margin-top:16px; border-top:1px solid var(--pmv-border-theme); }.support-chat-history-box summary { display:flex; align-items:center; justify-content:space-between; padding:15px 2px 10px; cursor:pointer; font-size:11px; font-weight:800; }.support-chat-history-box summary span { display:grid; min-width:22px; height:22px; place-items:center; border-radius:999px; background:#eee2ff; color:#8217df; font-size:9px; }
.support-chat-detail { min-height:620px; }.support-chat-detail__head { display:flex; gap:14px; align-items:flex-start; justify-content:space-between; padding-bottom:16px; border-bottom:1px solid var(--pmv-border-theme); }.support-chat-detail__head h2 { margin:3px 0 4px; }.support-chat-detail__head p { margin:0; color:var(--pmv-muted-theme); font-size:10px; }.support-chat-detail__head a { color:inherit; }
.support-chat-assignment { display:flex; flex-wrap:wrap; gap:11px; align-items:center; margin:16px 0; padding:13px; border:1px dashed #9f72c4; border-radius:14px; background:var(--pmv-surface-soft); }.support-chat-assignment__avatar { display:grid; width:44px; height:44px; flex:0 0 44px; overflow:hidden; place-items:center; border-radius:50%; background:#eee2ff; color:#8217df; }.support-chat-assignment__avatar img { width:100%; height:100%; object-fit:cover; }.support-chat-assignment>div { display:grid; min-width:180px; flex:1; gap:2px; }.support-chat-assignment small { color:var(--pmv-muted-theme); font-size:9px; }.support-chat-assignment strong { font-size:11px; }.support-chat-assignment form { margin:0; }
.support-admin-thread { display:flex; max-height:560px; min-height:280px; overflow:auto; flex-direction:column; gap:11px; padding:16px; border:1px solid var(--pmv-border-theme); border-radius:15px; background:var(--pmv-surface-soft); }.support-admin-message { display:flex; max-width:85%; gap:9px; align-self:flex-start; }.support-admin-message.is-staff { align-self:flex-end; flex-direction:row-reverse; }.support-admin-message.is-system { max-width:100%; align-self:center; }.support-admin-message__avatar { display:grid; width:34px; height:34px; flex:0 0 34px; overflow:hidden; place-items:center; border-radius:50%; background:#eee2ff; color:#8217df; }.support-admin-message__avatar img { width:100%; height:100%; object-fit:cover; }
.support-admin-message>div { min-width:0; }.support-admin-message header { display:flex; gap:9px; margin:0 3px 4px; color:var(--pmv-muted-theme); font-size:8px; }.support-admin-message.is-staff header { justify-content:flex-end; }.support-admin-message p { margin:0; padding:10px 12px; border:1px solid var(--pmv-border-theme); border-radius:14px 14px 14px 5px; background:var(--pmv-surface); font-size:11px; line-height:1.6; overflow-wrap:anywhere; }.support-admin-message.is-staff p { border-color:transparent; border-radius:14px 14px 5px 14px; background:linear-gradient(120deg,#8617ed,#4a14ff); color:#fff; }.support-admin-message.is-system p { padding:6px 10px; border:0; border-radius:999px; background:#eee7f5; color:#6c6076; font-size:9px; }
.support-admin-compose { display:grid; gap:9px; margin-top:14px; padding:14px; border:1px solid var(--pmv-border-theme); border-radius:14px; background:var(--pmv-surface-soft); }.support-admin-compose label { font-size:10px; font-weight:800; }.support-admin-compose textarea { width:100%; box-sizing:border-box; resize:vertical; }.support-admin-compose button { justify-self:end; }.support-chat-closed-note { margin-top:14px; padding:13px; border-radius:12px; background:var(--pmv-surface-soft); color:var(--pmv-muted-theme); font-size:10px; text-align:center; }.support-chat-empty { min-height:480px; align-content:center; }.support-chat-empty i { display:block; margin-bottom:13px; color:#8a18eb; font-size:36px; }.support-chat-empty strong,.support-chat-empty span { display:block; margin-top:5px; }
html[data-theme="dark"] .support-chat-list__avatar,html[data-theme="dark"] .support-chat-assignment__avatar,html[data-theme="dark"] .support-admin-message__avatar,html[data-theme="dark"] .support-chat-history-box summary span { background:#302044; color:#dfb5ff; }html[data-theme="dark"] .support-admin-message.is-system p { background:#30273a; color:#d7cbe0; }
@media(max-width:1120px){.support-inbox-grid{grid-template-columns:1fr}.support-chat-sidebar{position:static;max-height:none}.support-chat-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.support-chat-list{grid-template-columns:1fr}.support-chat-list__item{grid-template-columns:auto minmax(0,1fr)}.support-chat-list__item>.support-chat-state{grid-column:2}.support-chat-detail__head{flex-direction:column}.support-chat-assignment{align-items:stretch}.support-chat-assignment form,.support-chat-assignment button{width:100%}.support-admin-message{max-width:95%}}
