.cl-dialog{width:min(760px,calc(100vw - 24px));max-height:88dvh;padding:0;border:1px solid #d7d9e1;border-radius:18px;color:#20212a;background:#fff;box-shadow:0 22px 70px #10132240;overflow:hidden}.cl-dialog::backdrop{background:#10132280;backdrop-filter:blur(3px)}.cl-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e3e4eb}.cl-header h2{font-size:1.25rem;margin:0}.cl-body{overflow:auto;max-height:calc(88dvh - 91px);padding:20px 24px 26px;overscroll-behavior:contain}.cl-help,.cl-meta,.cl-code{color:#5b5e70;line-height:1.5}.cl-help{margin:0 0 20px}.cl-tools{display:grid;grid-template-columns:1fr 1.6fr;gap:16px}.cl-tools label{display:grid;gap:7px;font-size:.85rem;font-weight:600}.cl-tools select,.cl-tools input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #aaaebc;border-radius:9px;background:#fff;color:#20212a;font:inherit}.cl-status{min-height:1.5em;color:#555a6e;line-height:1.5;font-size:.9rem}.cl-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.cl-item{display:flex;align-items:center;gap:18px;border:1px solid #e0e2ea;border-radius:12px;padding:16px}.cl-copy{flex:1;min-width:0}.cl-copy h3{margin:0 0 5px;font-size:1rem;overflow-wrap:anywhere}.cl-code{font-size:.75rem;overflow-wrap:anywhere}.cl-code,.cl-meta{margin:3px 0}.cl-meta{font-size:.8rem}.cl-button{min-height:44px;border:1px solid #bec1ce;border-radius:9px;padding:9px 16px;background:#fff;color:#2f3243;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.cl-primary{background:#292a35;color:#fff;border-color:#292a35}.cl-button:hover:not(:disabled){background:#f1f2f6}.cl-primary:hover:not(:disabled){background:#454656}.cl-button:disabled{opacity:.55;cursor:not-allowed}.cl-dialog :focus-visible{outline:3px solid #4b5ddb;outline-offset:3px}.cl-empty{padding:28px 12px;text-align:center;color:#65697a;border:1px dashed #c7cad5;border-radius:12px}.cl-warning{font-size:.85rem;color:#895311;margin:6px 0 0}@media(max-width:520px){.cl-header{padding:16px}.cl-body{padding:16px;max-height:calc(88dvh - 78px)}.cl-tools{grid-template-columns:1fr}.cl-item{align-items:stretch;flex-direction:column;gap:12px}.cl-item .cl-button{align-self:flex-start}.cl-header h2{font-size:1.1rem}}@media(prefers-reduced-motion:reduce){.cl-dialog,.cl-dialog *{scroll-behavior:auto!important}}
.cl-confirm{max-width:560px}.cl-confirm h2{font-size:1.25rem;margin:2px 0 16px}.cl-confirm .cl-help{margin:0}.cl-confirm-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e3e4eb}
.cl-header-actions{display:flex;gap:8px}@media(max-width:520px){.cl-header{flex-wrap:wrap}.cl-header-actions{margin-left:auto}}
.cl-dialog[open]{display:flex;flex-direction:column}.cl-dialog>.cl-body{min-height:0;max-height:none;flex:1}.cl-header,.cl-confirm-actions{flex-shrink:0}
 .cl-undo{position:fixed;bottom:24px;right:24px;z-index:1600;display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #dcd5ee;border-radius:14px;background:#fff;box-shadow:0 8px 32px #24164024;font-size:14px;max-width:calc(100vw - 32px)}
