.offline-dialog { max-width: 820px; }
.offline-dialog .button, .offline-dialog .text-button,
.offline-create-dialog .button, .offline-create-dialog input, .offline-create-dialog select { min-height: 44px; }
.offline-toolbar, .offline-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.offline-actions { margin-top: 18px; }
.offline-actions .button { flex: 1 1 auto; }
.offline-create-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.offline-create-dialog select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #cedbd2; border-radius: 9px; color: #233f34; background: #fff; font: inherit; font-size: 14px; }
.offline-pack .product-item-title, .offline-pack .product-item-meta, .offline-members li,
#offline-create-files li { overflow-wrap: anywhere; }
.offline-pack-state { font-weight: 700; }
.offline-members { margin-block: 12px; }
.offline-members summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.offline-members ul, #offline-create-files { padding-left: 22px; line-height: 1.7; }
#offline-create-files { max-height: 170px; overflow-y: auto; }
.offline-create-dialog input:focus-visible, .offline-create-dialog select:focus-visible,
.offline-members summary:focus-visible { outline: 2px solid var(--brand, #3473d9); outline-offset: 3px; }
@media (max-width: 520px) {
  .offline-toolbar { align-items: stretch; }
  .offline-toolbar .button, .offline-toolbar .text-button { flex: 1 1 auto; }
  .offline-create-dialog input, .offline-create-dialog select { font-size: 16px; }
}
