@media screen {
  .pr-document { margin-bottom: 20px; min-width: 0; }
  #prDocumentLabel { display: block; margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 600; }
  .pr-document-buttons { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 4px 3px 8px; scrollbar-width: thin; scrollbar-color: #9bb3bf transparent; }
  .pr-document-buttons button { flex: 0 0 auto; min-height: 38px; padding: 8px 18px; background: #fff; color: var(--brand); border: 1px solid #b9cbd5; border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
  .pr-document-buttons button:hover { background: #edf4f7; }
  .pr-document-buttons button[aria-checked=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
  .pr-document-buttons button.has-changes::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-radius: 50%; background: currentColor; vertical-align: middle; }
  .pr-document-buttons button:disabled { cursor: default; opacity: .65; }
  .pr-document p { margin: 4px 0 0; color: #526878; font-size: 12px; line-height: 1.7; }
  .lz-printing .pr-types { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .pr-type { flex: 1 1 210px; display: flex; align-items: center; gap: 12px; padding: 17px 20px; cursor: pointer; color: var(--ink); }
  .pr-type + .pr-type { border-left: 1px solid var(--line); }
  .pr-type:has(input:checked) { background: #edf4f7; box-shadow: inset 0 -3px var(--brand); }
  .pr-type strong { display: block; font-size: 14px; font-weight: 600; }
  .pr-type small { display: block; margin-top: 4px; color: #526878; font-size: 12px; }
  .pr-type input { accent-color: var(--brand); width: 16px; height: 16px; flex: 0 0 auto; }
  .pr-layout { display: grid; grid-template-columns: minmax(310px, 390px) minmax(0, 1fr); gap: 24px; align-items: start; }
  .pr-settings form { padding: 20px; }
  .pr-settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  .pr-settings .lz-field { margin-bottom: 16px; }
  .pr-settings .lz-field label { display: block; font-size: 13px; color: #526878; margin-bottom: 6px; }
  .pr-settings input:not([type=checkbox]), .pr-settings select, .pr-settings textarea { width: 100%; min-width: 0; min-height: 38px; border: 1px solid #b9cbd5; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; padding: 8px 10px; }
  .pr-settings textarea { resize: vertical; min-height: 68px; }
  .pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .pr-settings fieldset.pr-content { padding: 0 0 16px; margin: 2px 0 16px; border-bottom: 1px solid var(--line); }
  .pr-content legend { padding: 0; margin-bottom: 10px; color: #526878; font-size: 13px; }
  .pr-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 13px; }
  .pr-options label { display: flex; align-items: center; gap: 6px; }
  .pr-options input { accent-color: var(--brand); }
  .pr-hint, .pr-paper-note { color: #526878; font-size: 12px; line-height: 1.8; margin: 0 0 12px; }
  .pr-paper-note { color: var(--ink); }
  .pr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
  .pr-reset { border: 0; background: none; color: var(--brand); font: inherit; font-size: 12px; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .pr-reset:disabled { color: #647b89; cursor: default; }
  .pr-message { font-size: 12px; color: #365c6a; line-height: 1.7; min-height: 22px; margin: 12px 0 0; overflow-wrap: anywhere; }
  .pr-message.is-error { color: #a03630; }
  .pr-preview { min-width: 0; background: #e6edf0; border-radius: 10px; padding: 20px; }
  .pr-preview-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
  .pr-preview-head h3 { margin: 0; font-size: 15px; color: var(--ink); }
  .pr-preview-head span, .pr-preview-note { font-size: 12px; color: #526878; }
  .pr-preview-note { margin: 8px 0 16px; }
  .pr-stage { width: 100%; min-height: 250px; padding: 8px 0 16px; overflow: hidden; }
  .pr-frame-box { position: relative; margin: 0 auto; background: #fff; box-shadow: 0 5px 16px #1834461c; }
  #prPreview { display: block; border: 0; transform-origin: top left; max-width: none; background: white; pointer-events: none; }
  .pr-output { position: fixed; width: 1px; height: 1px; left: -10000px; top: 0; border: 0; }
  .lz-printing :is(input,select,textarea,button):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .lz-printing ::selection { background: #c7dfe9; color: #153a4a; }
  @media (max-width: 1000px) { .pr-layout { grid-template-columns: 1fr; } .pr-preview { max-width: 100%; } }
  @media (max-width: 600px) { .pr-type { flex-basis: 100%; padding: 13px 16px; } .pr-type + .pr-type { border-left: 0; border-top: 1px solid var(--line); } .pr-settings form, .pr-preview { padding: 16px; } .pr-layout { gap: 16px; } }
}
