.photo-background-color{margin:18px 0;padding:16px;border:1px solid var(--line);border-left:4px solid var(--acid);background:#fff}.photo-bg-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.photo-bg-head h3{margin:0;text-transform:uppercase;font-size:13px;letter-spacing:.8px}.photo-bg-head p,.photo-background-color>p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.photo-bg-head span{width:34px;height:34px;border:1px solid var(--line);background:repeating-conic-gradient(#ccc 0 25%,#eee 0 50%) 0/10px 10px;flex:0 0 auto}.photo-bg-head span.active{box-shadow:inset 0 0 0 3px #fff}.photo-bg-presets{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 0}.photo-bg-presets button,.photo-bg-custom button{padding:9px 7px;border:1px solid var(--line);background:#f7f5ef;font-size:10px;font-weight:bold;text-transform:uppercase;cursor:pointer}.photo-bg-presets button.active{outline:2px solid var(--ink);outline-offset:1px}.photo-bg-custom{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:end}.photo-bg-custom label{margin:0}.photo-bg-custom input[type=color]{height:38px;margin-top:6px;padding:2px;border:1px solid var(--line);background:#fff}.photo-bg-custom button{height:38px}.photo-bg-custom #applyPhotoBgBtn{background:var(--acid);border-color:var(--ink)}
@media(max-width:700px){.photo-bg-presets{grid-template-columns:repeat(2,1fr)}.photo-bg-custom{grid-template-columns:1fr}.photo-bg-custom button{width:100%}}
.pdf-page-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:12px;border:1px solid var(--line);border-left:4px solid var(--acid);background:#fff}.pdf-page-tools>div{display:flex;align-items:center;gap:8px}.pdf-page-tools>div:first-child{flex-direction:column;align-items:flex-start}.pdf-page-tools strong{text-transform:uppercase;font-size:11px;letter-spacing:.8px}.pdf-page-tools small{color:var(--muted);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-page-tools button{border:1px solid var(--line);background:#f7f5ef;padding:8px 10px;font-size:10px;font-weight:bold;text-transform:uppercase;cursor:pointer}.pdf-page-tools button:disabled{opacity:.4;cursor:not-allowed}.pdf-page-tools span{font-size:11px;font-weight:bold;white-space:nowrap}@media(max-width:700px){.pdf-page-tools{align-items:stretch;flex-direction:column}.pdf-page-tools>div:last-child{justify-content:space-between}}
