@media screen {
  .et-premium .pk-muted { color:var(--et-muted); font-size:12px; line-height:1.6; }
  .pk-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:16px; }
  .pk-card { min-width:0; padding:22px; border:1px solid var(--et-line); border-radius:16px; background:var(--et-card); }
  .pk-card h3 { font-size:17px; line-height:1.5; margin:0 0 8px; overflow-wrap:anywhere; }
  .pk-card .ws-actions { margin-top:16px; }
  .pk-icon { width:44px; height:44px; padding:10px!important; display:inline-flex; align-items:center; justify-content:center; }
  .pk-icon svg { width:18px; height:18px; }
  .pk-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; margin:16px 0; }
  .pk-filters label { font-size:11px; color:var(--et-muted); display:grid; gap:5px; }
  .pk-filters label:first-child { grid-column:span 2; }
  .pk-dialog { box-sizing:border-box; width:min(920px,calc(100% - 24px)); max-width:920px; max-height:calc(100dvh - 24px); padding:24px; border:1px solid var(--et-line); border-radius:18px; color:var(--et-ink); background:var(--et-card); overflow:auto; }
  .pk-dialog::backdrop { background:#15121a88; }
  .pk-dialog h2 { font-size:22px; margin:0; }
  .pk-dialog header { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:18px; }
  .pk-form { display:grid; gap:14px; }
  .pk-form label { display:grid; gap:6px; font-size:12px; }
  .pk-form .input,.pk-filters .input { min-width:0; width:100%; box-sizing:border-box; background:var(--et-bg); color:var(--et-ink); border-color:var(--et-line); }
  .pk-form textarea { min-height:180px; resize:vertical; font:13px/1.65 system-ui,sans-serif; }
  .pk-form textarea[name="message"] { min-height:360px; white-space:pre-wrap; }
  .pk-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .pk-preview { white-space:pre-wrap; overflow-wrap:anywhere; padding:18px; background:var(--et-bg); border:1px solid var(--et-line); border-radius:12px; max-height:52dvh; overflow:auto; font:13px/1.65 system-ui,sans-serif; }
  .pk-error { color:#b64027; padding:12px 0; font-size:13px; }
  .pk-dialog .ws-actions { flex-wrap:wrap; }
  .pk-dialog button,.pk-dialog a { min-height:44px; }
  .pk-dialog [hidden] { display:none!important; }
  .pk-dialog details { margin:8px 0; }
  .pk-state { border-radius:20px; display:inline-block; padding:5px 10px; font-size:11px; background:var(--et-soft); }
  .pk-state--active { background:#d9f5e7; color:#145b40; }
  .pk-state--idle { background:#fff0c8; color:#704e00; }
  .pk-activity-table { overflow:auto; margin-top:16px; }
  .pk-activity-table table { min-width:950px; width:100%; }
  @media(max-width:600px){.pk-dialog{padding:18px}.pk-row{grid-template-columns:1fr}.pk-filters{grid-template-columns:1fr 1fr}.pk-filters label:first-child{grid-column:1/-1}}
}
@media print { #packagesDialog { display:none!important; } }
