.dgx-foot-ask{display:flex;justify-content:center;margin:14px 0 8px}
.dgx-btn.dgx-ct-open{min-height:var(--dg-tap);padding:0 22px;gap:8px;font-size:15px;background:var(--dg-brand-tint);border-color:#bcd6fb;color:var(--dg-brand-deep)}
.dgx-btn.dgx-ct-open:hover{background:var(--dg-brand);border-color:var(--dg-brand);color:var(--dg-brand-ink)}
.dgx-ct-open .dgx-ico{width:18px;height:18px}
html.dgx-ct-on{overflow:hidden}
.dgx-ct{padding:0;border:0;border-radius:var(--dg-radius);background:var(--dg-surface);color:var(--dg-ink);width:min(760px,calc(100vw - 32px));max-width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-shadow:0 24px 60px rgba(4,25,71,.3);overflow:hidden}
.dgx-ct[open]{display:flex;flex-direction:column}
.dgx-ct::backdrop{background:rgba(4,25,71,.62)}
.dgx-ct-in{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.dgx-ct-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 10px 10px 22px;border-bottom:1px solid var(--dg-line)}
.dgx-ct-h{margin:0;font-size:19px;font-weight:800;line-height:1.3}
.dgx-ct-p{margin:2px 0 0;font-size:13px;color:var(--dg-ink-soft);line-height:1.45}
.dgx-ct-x{flex:none;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:var(--dg-ink-soft);cursor:pointer}
.dgx-ct-x:hover{background:var(--dg-info-tint);color:var(--dg-ink)}
.dgx-ct-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 22px 0}
.dgx-ct-wait{margin:28px 0;text-align:center;color:var(--dg-ink-soft)}
.dgx-ct-form{gap:12px}
.dgx-ct-form .dgx-field{align-content:start;gap:5px}
.dgx-ct-form .dgx-label{font-size:13px;height:20px;line-height:20px}
.dgx-ct-form .dgx-label .dgx-tag{padding:0 7px;font-size:11px;line-height:18px}
.dgx-ct-form .dgx-note{margin:0}
.dgx-ct .dgx-input{min-height:40px;padding:8px 12px;font-size:15px}
.dgx-ct input.dgx-input:not([type=file]),.dgx-ct select.dgx-input{height:40px}
.dgx-ct-row{display:grid;gap:12px;align-items:start}
.dgx-ct-row.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dgx-ct-row.is-12{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.dgx-ct-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.dgx-ct-text{min-height:100px;resize:vertical}
.dgx-ct .dgx-ct-text{height:104px}
.dgx-ct-file{padding:6px 10px}
.dgx-ct-file::file-selector-button{min-height:28px;margin-right:10px;padding:0 12px;border:1px solid var(--dg-line);border-radius:8px;background:var(--dg-info-tint);color:var(--dg-ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.dgx-ct-one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dgx-ct-sum{margin:0;font-size:13px;font-weight:700;color:var(--dg-ink-soft)}
.dgx-ct-sum:empty{display:none}
.dgx-ct-agree label{font-size:14px}
.dgx-ct-me{display:flex;gap:8px;align-items:center;margin:0;padding:8px 12px;border-radius:var(--dg-radius-sm);background:var(--dg-info-tint);font-size:14px}
.dgx-ct-me .dgx-ico{width:18px;height:18px;color:var(--dg-brand)}
.dgx-ct-send{position:sticky;bottom:0;z-index:1;margin:0 -22px;padding:12px 22px 14px;background:var(--dg-surface);border-top:1px solid var(--dg-line)}
.dgx-ct-send .dgx-btn{width:100%;min-height:44px}
.dgx-ct-page{margin-top:8px}
.dgx-ct-page .dgx-ct-send{position:static;margin:0;padding:0;border:0;background:none}
.dgx-ct-page .dgx-ct-row.is-3{grid-template-columns:1fr}
.dgx-ct-page .dgx-ct-one{white-space:normal}
.dgx-ct-done{text-align:center;padding:20px 4px 22px;outline:0}
.dgx-ct-done-i{display:inline-flex;width:56px;height:56px;border-radius:50%;align-items:center;justify-content:center;background:var(--dg-ok-tint);color:var(--dg-ok)}
.dgx-ct-done-i .dgx-ico{width:28px;height:28px}
.dgx-ct-done-h{margin:14px 0 6px;font-size:20px;font-weight:800}
.dgx-ct-done p{margin:0 0 18px;color:var(--dg-ink-soft)}
.dgx-ct-done-b{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.dgx-ct-done-b .dgx-btn{min-width:150px;min-height:44px}
@keyframes dgx-ct-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes dgx-ct-up{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:no-preference){.dgx-ct[open]{animation:dgx-ct-in .2s var(--dg-ease)}}
@media (max-width:640px){
.dgx-ct{width:100%;max-width:100%;max-height:100dvh;margin:auto 0 0;border-radius:18px 18px 0 0}
.dgx-ct-head{padding:8px 4px 8px 16px}
.dgx-ct-h{font-size:18px}
.dgx-ct-body{padding:12px 16px 0}
.dgx-ct-row.is-3,.dgx-ct-row.is-12{grid-template-columns:1fr;gap:12px}
.dgx-ct .dgx-input{min-height:44px;font-size:16px}
.dgx-ct input.dgx-input:not([type=file]),.dgx-ct select.dgx-input{height:44px}
.dgx-ct-file::file-selector-button{min-height:32px}
.dgx-ct-one{white-space:normal}
.dgx-ct-form .dgx-check input{width:24px;height:24px}
.dgx-ct-send{margin:0 -16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.dgx-ct-send .dgx-btn,.dgx-ct-done-b .dgx-btn{min-height:48px;width:100%}
.dgx-ct-done-b{flex-direction:column}
}
@media (max-width:640px) and (prefers-reduced-motion:no-preference){.dgx-ct[open]{animation:dgx-ct-up .26s var(--dg-ease)}}
