.dpv{--dpv-accent:#2563eb;--dpv-radius:12px;font-family:inherit;margin:0 0 1em}
.dpv-inline{border:1px solid #e5e7eb;border-radius:var(--dpv-radius);overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.06);background:#fff}
.dpv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #eef0f3}
.dpv-title{font-size:13px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dpv-tools{display:flex;gap:6px;flex:none}
.dpv-tools a,.dpv-tools button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:#eef2ff;color:var(--dpv-accent);cursor:pointer;text-decoration:none;font-size:15px;line-height:1}
.dpv-tools a:hover,.dpv-tools button:hover{background:var(--dpv-accent);color:#fff}
.dpv-frame{position:relative;width:100%;background:#f3f4f6}
.dpv-frame iframe{display:block;width:100%;height:100%;border:0}
.dpv-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:10px;border:2px solid var(--dpv-accent);background:var(--dpv-accent);color:#fff;font-weight:600;cursor:pointer;text-decoration:none;font-size:15px;line-height:1.2}
.dpv-btn.dpv-outline{background:transparent;color:var(--dpv-accent)}
.dpv-btn:hover{filter:brightness(.94)}
.dpv-btn-ico{font-size:16px}
.dpv-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:2vh 2vw;background:rgba(15,23,42,.7)}
.dpv-modal.dpv-open{display:flex}
.dpv-modal-box{position:relative;width:min(1000px,96vw);height:min(92vh,100%);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.4);display:flex;flex-direction:column}
.dpv-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid #eef0f3;background:#f8fafc}
.dpv-modal-head .dpv-title{font-size:14px}
.dpv-modal-close{width:34px;height:34px;flex:none;border:0;border-radius:8px;background:#eef2ff;color:#111;cursor:pointer;font-size:20px;line-height:1}
.dpv-modal-close:hover{background:#e11d48;color:#fff}
.dpv-modal-body{flex:1;min-height:0}
.dpv-modal-body iframe{width:100%;height:100%;border:0;display:block}
body.dpv-lock{overflow:hidden}
@media(max-width:600px){.dpv-modal-box{width:100vw;height:100vh;border-radius:0}}
.dpv-textlink{display:inline-flex;align-items:center;gap:6px;color:var(--dpv-accent);text-decoration:none;font-weight:600;cursor:pointer;border-bottom:1px solid transparent;line-height:1.3}
.dpv-textlink:hover{border-bottom-color:currentColor}
.dpv-tl-ico{font-size:15px}
.dpv-modal-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 14px;border-top:1px solid #eef0f3;background:#f8fafc;font-size:13px;color:#6b7280}
.dpv-modal-foot a{color:var(--dpv-accent,#2563eb);font-weight:600;text-decoration:none}
.dpv-modal-foot a:hover{text-decoration:underline}
.dpv-mf-hint{margin-right:auto}
