*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:#f4f6f9;color:#243449}header{display:flex;align-items:center;gap:18px;background:#142a44;color:white;padding:16px 28px}header b{font-size:21px}header span:nth-child(3){margin-left:auto}main{max-width:1400px;margin:26px auto;padding:0 20px}.card{background:white;border:1px solid #dce3ec;border-radius:12px;padding:20px;margin:14px 0;box-shadow:0 3px 12px #17365b0a}.compact{max-width:420px;margin:70px auto}h2,h3{margin:0 0 16px}h4{margin:20px 0 8px}.bar{display:flex;align-items:center;justify-content:space-between;gap:10px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}label{display:block;font-size:13px;font-weight:600;margin:9px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:10px;border:1px solid #c6d2df;border-radius:7px;margin-top:6px;font:inherit}button{cursor:pointer;background:#185cb2;color:white;border:0;padding:10px 16px;border-radius:7px;font-weight:600;margin:4px 4px 4px 0}button:hover{background:#0f468e}button.secondary{background:#40586f}button:disabled{opacity:.45;cursor:not-allowed}.workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:15px}.drawing{min-width:0}svg{display:block;width:100%;background:#fbfdff;border:1px solid #dae3ec;border-radius:8px}.properties{margin-top:14px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:3px}.checks label{font-weight:400}.hint{color:#65788e;font-size:13px}.project{padding:12px;border-bottom:1px solid #e6ebf1;display:flex;align-items:center;justify-content:space-between}.tag{font-size:12px;background:#e6effb;padding:5px 9px;border-radius:20px}.history{border-bottom:1px solid #edf0f5;padding:10px 0}.history small{color:#6e7e90}#toast{position:fixed;bottom:24px;right:24px;background:#172e48;color:white;padding:12px 18px;border-radius:8px;display:none;max-width:400px}#toast.error{background:#a42c39}@media(max-width:850px){.workspace,.grid2{grid-template-columns:1fr}}
header nav{display:flex;gap:6px;margin-left:auto}header nav button{background:#36536f}header #identity{margin-left:0}#customersPage{max-width:850px;margin:auto}#customersPage .card{padding:24px}
.toolbuttons{display:flex;flex-wrap:wrap;gap:5px}.toolbuttons button{min-width:94px}.toolbuttons button:disabled{opacity:.45}#editNotice{font-size:14px;font-weight:600}#canvas{touch-action:none;user-select:none}#entityPanel{padding-bottom:14px}
