.cv-dialog,.cv-launch{--cv-ink:#183247;--cv-muted:#475d71;--cv-panel:rgba(255,255,255,.95);--cv-control:#f1f7fc;--cv-line:#ccdae7;--cv-accent:#026c9f;--cv-tint:rgba(56,189,248,.12);font:14px/1.5 system-ui,sans-serif;color:var(--cv-ink)}
html[data-dp-theme="dark"] :is(.cv-dialog,.cv-launch){--cv-ink:#edf5ff;--cv-muted:#bfcede;--cv-panel:rgba(15,23,42,.97);--cv-control:#172941;--cv-line:#35475f;--cv-accent:#7dd3fc}
body>.cv-dialog{position:fixed;inset:0;margin:auto!important;width:min(1000px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--cv-line);border-radius:18px;background:radial-gradient(ellipse at 95% 0,var(--cv-tint),transparent 55%),var(--cv-panel);backdrop-filter:blur(20px);box-shadow:0 24px 70px #0005;overflow:auto}
.cv-dialog::backdrop{background:#05101d88;backdrop-filter:blur(3px)}
.cv-dialog *{box-sizing:border-box}.cv-dialog .cv-heading{position:static;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 22px;width:auto;background:transparent;border:0;box-shadow:none}.cv-dialog h2{font-size:22px;margin:0 auto 0 0;color:var(--cv-ink)}.cv-dialog h3{font-size:18px;margin:0 0 16px;color:var(--cv-ink)}.cv-dialog .cv-body{padding:8px 22px 24px}.cv-dialog .cv-status{padding:0 22px;min-height:22px;margin:0}.cv-dialog .cv-status[role="alert"]{color:#be123c}html[data-dp-theme="dark"] .cv-dialog .cv-status[role="alert"]{color:#fda4af}
.cv-dialog :is(button,input,select,textarea),body>header .cv-launch{font:inherit;color:var(--cv-ink);background:var(--cv-control);border:1px solid var(--cv-line);border-radius:9px;padding:9px 12px;min-height:40px;width:auto;margin:0;box-shadow:none}.cv-dialog button,body>header .cv-launch{cursor:pointer;font-weight:600}.cv-dialog :is(button,input,select,textarea):focus-visible,.cv-launch:focus-visible{outline:2px solid var(--cv-accent);outline-offset:3px}.cv-dialog button:disabled{opacity:.55}.cv-dialog button:hover{background:var(--cv-tint)}.cv-dialog .cv-tools{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.cv-dialog label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:160px;font-size:13px;color:var(--cv-muted);margin:0 0 12px}.cv-dialog label:has(input[type="checkbox"]){flex-direction:row;align-items:center}.cv-dialog input[type="checkbox"]{width:18px;height:18px;min-height:18px;accent-color:#0284c7}.cv-dialog textarea{width:100%;min-height:100px;resize:vertical}.cv-dialog .cv-row{display:grid;grid-template-columns:1fr 1.2fr 1.3fr .6fr auto;gap:12px;align-items:center;padding:14px 12px;border-bottom:1px solid var(--cv-line);overflow-wrap:anywhere}.cv-dialog .cv-list{background:var(--cv-control);border-radius:12px;margin-bottom:16px}.cv-dialog .cv-note{color:var(--cv-muted)}.cv-dialog .cv-history{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px}.cv-dialog .cv-history li{max-width:85%;padding:14px;border-radius:12px;background:var(--cv-control);overflow-wrap:anywhere}.cv-dialog .cv-history .cv-out{align-self:flex-end;background:var(--cv-tint)}.cv-dialog .cv-history p{white-space:pre-wrap;margin:8px 0 0;color:var(--cv-ink)}.cv-dialog small{color:var(--cv-muted);font-size:12px}
@media(max-width:640px){body>.cv-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.cv-dialog .cv-row{grid-template-columns:1fr 1fr}.cv-dialog :is(button,input,select),body>header .cv-launch{min-height:44px}.cv-dialog .cv-heading{padding:14px}.cv-dialog .cv-body{padding:8px 14px 16px}.cv-dialog .cv-history li{max-width:95%}.cv-dialog .cv-tools label{min-width:130px}}
