dialog.dg-dialog{border-radius:var(--radius-lg);background:var(--surface);width:min(560px,100vw - 32px);max-height:min(100dvh - 48px,860px);color:var(--text);box-shadow:var(--shadow-lg);border:0;padding:0;overflow:hidden}dialog.dg-dialog[open]{flex-direction:column;display:flex}.dg-form{flex-direction:column;flex:auto;min-height:0;margin:0;display:flex}.dg-form-head{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:12px;padding:18px 24px 14px;display:flex}.dg-form-head h3{letter-spacing:-.01em;overflow-wrap:anywhere;flex:auto;min-width:0;margin:0;font-size:18px;font-weight:700;line-height:1.3}.dg-form-head .btn{border-radius:50%;flex:none;place-items:center;width:36px;height:36px;min-height:36px;padding:0;display:inline-grid}.dg-form-body{overscroll-behavior:contain;flex:auto;align-content:start;min-height:0;padding:20px 24px;overflow-y:auto}.dg-form-body .f-check label{min-height:0;padding:4px 0}.dg-form-foot{border-top:1px solid var(--border);background:var(--surface);flex-direction:column;flex:none;gap:12px;padding:14px 24px 18px;display:flex}.dg-form-foot:empty{display:none}.dg-form-foot .f-summary{overflow-wrap:anywhere;align-items:flex-start;font-weight:500}.dg-form-foot .f-summary .icon{flex:none;margin-top:1px}.dg-form-foot .btn{min-height:44px;padding-inline:20px}.dg-discard{flex-direction:column;gap:12px;display:flex}.dg-discard strong{font-size:15px}@media (max-width:640px){dialog.dg-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.dg-form-head{padding:12px 16px;padding-top:max(12px, env(safe-area-inset-top))}.dg-form-body{padding:16px}.dg-form-foot{padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));box-shadow:0 -6px 16px -12px #00000040}.dg-form-foot .f-actions{flex-direction:column;align-items:stretch;gap:8px}.dg-form-foot .f-actions>.btn{flex:none;width:100%;min-height:48px}}.dg-search{flex:240px;min-width:0;max-width:360px;display:flex;position:relative}.dg-toolbar .dg-search>input[type=search]{flex:auto;width:100%;min-width:0;max-width:none;padding-right:40px}.dg-search>input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.dg-search-clear{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.dg-search-clear:hover{background:var(--surface-2);color:var(--text)}.dg-search-clear:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.dg-dates{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:inline-flex}.dg-date{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.dg-date>input[type=date]{min-width:0}@media (max-width:820px){.dg-search{flex-basis:100%;max-width:none}.dg-dates{flex:100%}.dg-date{flex:1 1 0}.dg-toolbar .dg-date>input[type=date]{flex:auto;width:100%;max-width:none}}.dg-form-body .f-control>.input[readonly]{background:var(--surface-2);color:var(--muted)}
