.dkg{--dkg-accent:#17675b;--dkg-line:#cbd7d2;max-width:1080px;margin:24px auto;color:inherit;font-size:16px;line-height:1.5}.dkg *{box-sizing:border-box}.dkg [hidden]{display:none!important}.dkg h2{margin:20px 0 10px}.dkg fieldset{min-width:0;border:1px solid var(--dkg-line);border-radius:8px;padding:20px;margin:24px 0;background:#fff;color:#192c27}.dkg legend{font-size:1.2em;font-weight:700;padding:0 8px}.dkg label{display:block;font-weight:600;margin:8px 0}.dkg input:not([type=checkbox]),.dkg select,.dkg textarea{display:block;width:100%;max-width:100%;min-width:0;margin-top:5px;padding:10px;border:1px solid #879c93;border-radius:4px;color:#192c27;background:#fff;font:inherit}.dkg input[type=file]{font-size:14px}.dkg .dkg-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:16px 0}.dkg input[type=checkbox]{flex-shrink:0;width:20px;height:20px;margin-top:3px}.dkg .dkg-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 18px}.dkg button{display:inline-block;white-space:normal;overflow-wrap:anywhere;max-width:100%;border:1px solid var(--dkg-accent);border-radius:5px;padding:10px 15px;margin:5px 0;background:var(--dkg-accent);color:#fff;font:inherit;font-weight:600;cursor:pointer;line-height:1.4;min-height:44px}.dkg button:disabled{opacity:.5;cursor:not-allowed}.dkg .dkg-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.dkg .dkg-toolbar button{background:white;color:var(--dkg-accent)}.dkg .dkg-help{font-size:.9em;color:#4c6158}.dkg .dkg-note,#dkg-message{padding:14px 16px;background:#eef5f2;border-left:4px solid var(--dkg-accent);border-radius:3px}#dkg-message:empty{display:none}#dkg-message.dkg-error{border-color:#ae2a21;background:#fff0ed;color:#712018}.dkg .dkg-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.dkg-canvas{background:#e8eeeb;border:1px solid var(--dkg-line);border-radius:5px;overflow:hidden}.dkg #dkg-stage{display:block;width:100%;height:auto;touch-action:none;max-height:none}.dkg #dkg-stage rect[data-index]{cursor:move;vector-effect:non-scaling-stroke}.dkg #dkg-stage .dkg-handle{cursor:nwse-resize}.dkg details{margin-top:16px;padding:12px;background:#f3f6f4}.dkg summary{cursor:pointer;font-weight:600}.dkg :focus-visible{outline:3px solid #be5e12;outline-offset:3px}.dkg #dkg-success{padding:20px;background:#e6f5eb;border:1px solid var(--dkg-accent);border-radius:6px}.dkg-home{font-size:.9em}@media(max-width:520px){.dkg fieldset{padding:12px}.dkg .dkg-fields{grid-template-columns:1fr}.dkg .dkg-toolbar button{flex:1 1 135px}.dkg{margin:16px 0}.dkg legend{font-size:1.05em}}
.dkg #dkg-model-status{padding:10px 12px;background:#eef5f2;border-radius:4px}.dkg #dkg-model-status.dkg-error{background:#fff0ed;color:#712018}.dkg input[readonly]{background:#f0f4f2;color:#334d41}

.dkg #dkg-stage [data-index]{cursor:move}.dkg #dkg-stage [data-resize=left],.dkg #dkg-stage [data-resize=right]{cursor:ew-resize}.dkg #dkg-stage [data-resize=top],.dkg #dkg-stage [data-resize=bottom]{cursor:ns-resize}.dkg #dkg-stage [data-resize=uniform]{cursor:nwse-resize}
