.kai-property-dialog{width:min(780px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;border:1px solid #d4dfed;border-radius:16px;padding:24px;background:#fff;color:#203858;font:15px/1.5 Arial,sans-serif;box-shadow:0 18px 60px #17203333}
.kai-property-dialog::backdrop{background:#17203366}.kai-property-dialog *{box-sizing:border-box}.kai-property-dialog [hidden],#kaiPropertyOpen[hidden]{display:none!important}.kai-property-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.kai-property-heading h2{font-size:23px;line-height:1.25;margin:0}.kai-property-dialog h3{font-size:16px;margin:0 0 10px}.kai-property-dialog p{margin:10px 0}.kai-property-intro{color:#61748d}.kai-property-dialog button{border:1px solid #c5d4e7;border-radius:8px;padding:11px 15px;background:#f3f7fc;color:#20477e;font:inherit;line-height:1.35;cursor:pointer;overflow-wrap:anywhere}.kai-property-heading button{font-size:25px;padding:2px 12px;flex:none}.kai-property-dialog button:disabled{opacity:.5;cursor:not-allowed}.kai-property-dialog :focus-visible{outline:3px solid #528bdb;outline-offset:3px}.kai-property-dialog input:not([type=checkbox]):not([type=radio]),.kai-property-dialog select{display:block;width:100%;min-width:0;padding:12px;border:1px solid #bccde2;border-radius:8px;background:#fff;color:#203858;font:inherit}.kai-property-dialog input[type=checkbox],.kai-property-dialog input[type=radio]{accent-color:#215fa7;width:18px;height:18px;flex:none;margin:3px 0 0}.kai-property-field{display:block;margin:18px 0;font-weight:600}.kai-property-field input,.kai-property-field select{margin-top:7px;font-weight:400}.kai-property-mode{border:0;padding:0;margin:20px 0;display:flex;gap:10px;flex-wrap:wrap}.kai-property-mode legend{font-weight:600;padding:0;margin-bottom:8px}.kai-property-mode label{display:flex;align-items:flex-start;gap:9px;padding:10px 13px;border:1px solid #d4dfed;border-radius:8px;cursor:pointer}.kai-property-mode label:has(input:checked){background:#edf5ff;border-color:#3974b9}.kai-property-current{background:#f5f8fc;border:1px solid #e0e8f1;border-radius:10px;padding:14px 16px;margin:18px 0}.kai-property-current ul,.kai-property-review ul{padding-left:22px;margin:8px 0}.kai-property-current li,.kai-property-review li{overflow-wrap:anywhere;margin:4px 0}.kai-property-objects{margin:22px 0 12px}.kai-property-choices{max-height:290px;overflow:auto;overscroll-behavior:contain;border:1px solid #d4dfed;border-radius:9px;margin-top:10px}.kai-property-choice{display:flex;gap:11px;padding:12px 14px;border-bottom:1px solid #e4eaf2;cursor:pointer;align-items:flex-start}.kai-property-choice:last-child{border-bottom:0}.kai-property-choice:has(input:checked){background:#edf5ff}.kai-property-choice-text{min-width:0;overflow-wrap:anywhere}.kai-property-choice-text>*{display:block}.kai-property-choice-text span,.kai-property-choice-text small{color:#61748d;font-size:13px}.kai-property-count{font-size:13px;color:#61748d}.kai-property-empty{padding:12px;color:#61748d}.kai-property-review{margin-top:22px;padding:18px;border:1px solid #bed2ea;border-radius:10px;background:#f3f8ff;overflow-wrap:anywhere}.kai-property-confirm{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.kai-property-dialog .kai-property-primary{background:#215fa7;border-color:#215fa7;color:white}.kai-property-move{border-left:3px solid #c28a34;padding-left:10px}.kai-property-reason{color:#884d1a}.kai-property-status:not(:empty){padding:11px 13px;border:1px solid #c7dafa;background:#edf6ff;border-radius:8px;overflow-wrap:anywhere}.kai-property-status.kai-property-error{color:#963c2d;border-color:#ecc9c2;background:#fff4f1}
@media(max-width:540px){.kai-property-dialog{padding:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.kai-property-heading h2{font-size:20px}.kai-property-mode{display:grid}.kai-property-choices{max-height:260px}.kai-property-check,.kai-property-primary,#kaiPropertyReload{width:100%}.kai-property-review{padding:13px}}
