.modal-content button:not(.close-button){appearance:none;color:#eee;font:inherit;cursor:pointer;background-color:#333;border:1px solid #555;border-radius:4px;padding:8px 14px;transition:background-color .2s,border-color .2s}.modal-content button:not(.close-button):hover{background-color:#444;border-color:#777}.modal-content button:not(.close-button):focus-visible,.modal-content input:focus-visible,.modal-content select:focus-visible,.modal-content textarea:focus-visible{outline-offset:2px;outline:2px solid #79c6ff}.modal-content .apply-button{color:#fff;background-color:#2577af;border-color:#2b8fd6}.modal-content .apply-button:hover{background-color:#2f9ae6}.modal-content .cancel-button{background-color:#2a2a2a}.modal-content .close-button{color:#aaa;cursor:pointer;background:0 0;border:0;padding:2px 6px;font-size:24px;line-height:1;position:absolute;top:12px;right:12px}.modal-content .close-button:hover{color:#fff;background:0 0;border-color:#0000}.modal-content input:not([type=checkbox]):not([type=radio]),.modal-content select,.modal-content textarea{box-sizing:border-box;color:#eee;font:inherit;background-color:#1a1a1a;border:1px solid #555;border-radius:4px;padding:8px}.modal-content input::placeholder,.modal-content textarea::placeholder{color:#888}.modal-content input[type=file]{padding:4px}.modal-content input[type=file]::file-selector-button{color:#eee;cursor:pointer;background-color:#333;border:1px solid #666;border-radius:3px;margin-right:8px;padding:6px 10px}.modal-content input[type=checkbox],.modal-content input[type=radio]{accent-color:#3498db}#import-json-text-modal .modal-content textarea{resize:vertical;width:720px;height:min(55vh,520px);min-height:300px;font-family:Consolas,Monaco,monospace;line-height:1.45}.custom-symbol-modal{z-index:3000;background:#0000009e;justify-content:center;align-items:center;padding:10px;display:flex;position:fixed;inset:0}.custom-symbol-dialog{color:#eee;background:#24282c;border:1px solid #59636b;border-radius:6px;width:min(1180px,100vw - 24px);max-height:calc(100vh - 24px);padding:12px;overflow-y:auto;box-shadow:0 16px 48px #00000080;max-width:min(1180px,100vw - 24px)!important}.custom-symbol-header,.custom-symbol-toolbar,.custom-symbol-actions{align-items:center;gap:5px;display:flex}.custom-symbol-header{justify-content:space-between;margin-bottom:6px}.custom-symbol-dialog .close-button{flex:none;margin:-5px -5px 0 0;position:static}.custom-symbol-header h2{margin:0;font-size:17px}.custom-symbol-toolbar{flex-wrap:wrap;margin:5px 0}.custom-symbol-tool-row{min-height:30px}.custom-symbol-top-controls{grid-template-columns:1fr;align-items:center;gap:8px;margin:5px 0;display:grid}.custom-symbol-toolbar span{color:#a9b2b9;font-size:11px}.custom-symbol-dialog .toggle-button,.custom-symbol-dialog .panel-action-button,.custom-symbol-dialog .input-field{min-height:30px;padding:4px 8px;font-size:13px;line-height:20px}.custom-symbol-dialog button:not(.close-button){box-sizing:border-box;height:30px;min-height:30px;padding:4px 8px;line-height:20px}.custom-symbol-dialog .toggle-button,.custom-symbol-dialog .panel-action-button{white-space:nowrap;flex:none;width:auto}.custom-symbol-tool-row .toggle-button{flex:1 1 0}.custom-symbol-canvas{box-sizing:border-box;aspect-ratio:1000/550;object-fit:contain;cursor:crosshair;border:1px solid #59636b;max-width:100%;max-height:58vh;display:block;width:min(100%,105.456vh)!important;height:auto!important}.custom-symbol-editor-row{grid-template-columns:minmax(0,4fr) minmax(180px,1fr);align-items:stretch;gap:10px;display:grid}.custom-symbol-editor-row>.canvas-container,.custom-symbol-editor-row>.custom-symbol-vertex-list{box-sizing:border-box;min-width:0;max-width:100%}.custom-symbol-editor-row>.canvas-container{overflow:hidden;width:100%!important}.custom-symbol-vertex-list{background:#1b1f22;border:1px solid #59636b;border-radius:3px;align-self:start;width:100%;height:min(58vh,550px);min-height:150px;max-height:min(58vh,550px);padding:8px;font-size:11px;overflow:hidden auto}.custom-symbol-vertex-heading{color:#d9fff7;justify-content:space-between;margin-bottom:4px;font-weight:600;display:flex}.custom-symbol-vertex-heading span,.custom-symbol-empty-list{color:#88949a}.custom-symbol-vertex{color:#b7c3c8;cursor:pointer;border-top:1px solid #30383d;grid-template-columns:24px 1fr;gap:1px 3px;padding:5px 0;display:grid}.custom-symbol-vertex.active{background:#263b3d}.custom-symbol-vertex label{align-items:center;gap:4px;min-width:0;display:flex}.custom-symbol-vertex input{flex:auto;width:100%;min-width:72px;padding:2px 4px!important;font-size:11px!important}.custom-symbol-segment{color:#88949a;border-left:2px solid #59636b;margin:2px 0;padding:3px 4px 3px 27px;font-size:10px;transition:background-color .15s,border-color .15s}.custom-symbol-segment.active{background:#202e30;border-left-color:#55d6be}.custom-symbol-segment-label{text-align:left;justify-content:space-between;align-items:center;width:100%;display:flex;color:#a9b2b9!important;background:0 0!important;border:0!important;padding:0!important;font-size:10px!important}.custom-symbol-segment-label:after{content:"+";color:#55d6be;font-size:14px;line-height:10px}.custom-symbol-segment-label[aria-expanded=true]:after{content:"-"}.custom-symbol-segment-inputs{gap:3px;margin-top:4px;display:grid}.custom-symbol-segment-inputs label{justify-content:space-between;align-items:center;gap:4px;display:flex}.custom-symbol-segment-inputs .input-field{width:100px;min-width:0;padding:2px 4px!important;font-size:11px!important}.custom-symbol-vertex strong{color:#55d6be;grid-row:span 2}.custom-symbol-actions{justify-content:flex-end;margin-top:6px}.custom-symbol-actions .panel-action-button,.custom-symbol-actions .toggle-button{width:auto}.custom-symbol-color{gap:5px;width:100%;margin-top:0;display:flex}.custom-symbol-fill-settings{align-items:end;gap:6px;margin:5px 0;display:flex}.custom-symbol-fill-settings .custom-symbol-coordinate{flex:0 150px}.custom-symbol-color-picker{color:#a9b2b9;flex-direction:column;gap:1px;font-size:10px;display:flex}.custom-symbol-color-picker input[type=color]{cursor:pointer;background:#1a1a1a;border:1px solid #555;border-radius:3px;width:34px;height:30px;padding:1px}.custom-symbol-color .toggle-button{flex:1 1 0}.custom-symbol-arc-settings{opacity:1;flex-direction:column;gap:4px;max-height:260px;margin:5px 0;transition:max-height .22s,margin .22s,opacity .18s,transform .22s;display:flex;overflow:hidden;transform:translateY(0)}.custom-symbol-arc-construction-row{align-items:end;gap:8px;width:100%;display:flex}.custom-symbol-arc-construction{flex-direction:column;flex:0 260px;gap:1px;min-width:180px;display:flex}.custom-symbol-arc-construction>span{color:#a9b2b9;font-size:10px}.custom-symbol-arc-construction-row .custom-symbol-check{flex:0 300px}.custom-symbol-check{box-sizing:border-box;color:#c4cdd1;background-color:#333;border:1px solid #555;border-radius:4px;align-items:center;gap:5px;min-height:30px;padding:4px 8px;font-size:13px;line-height:20px;display:flex}.custom-symbol-check input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0}.custom-symbol-arc-inputs,.custom-symbol-coordinates{align-items:end;gap:6px;display:flex}.custom-symbol-arc-inputs .custom-symbol-coordinate{flex:1 1 0}.custom-symbol-coordinates{margin:5px 0}.custom-symbol-coordinate{flex-direction:column;flex:1 1 0;gap:1px;min-width:0;display:flex}.custom-symbol-coordinate span{color:#a9b2b9;font-size:10px}.custom-symbol-coordinate .input-field{width:100%}.custom-symbol-coordinate .coordinate-display{color:#7f888d;cursor:not-allowed;opacity:.72;background-color:#15181a;border-color:#3b4246;box-shadow:inset 0 1px 2px #00000059}.custom-symbol-coordinates>.toggle-button{flex:none}.custom-symbol-snap-toggle{white-space:nowrap;margin-left:auto}.custom-symbol-error{color:#ff8585;margin:4px 0 0;font-size:11px}.input-field-error{box-shadow:0 0 0 1px #e05252;border-color:#e05252!important}.custom-symbol-control-hidden{display:none!important}.custom-symbol-arc-settings.custom-symbol-control-hidden,.custom-symbol-coordinates.custom-symbol-control-hidden{opacity:0;pointer-events:none;visibility:hidden;max-height:0;margin-top:0;margin-bottom:0;transform:translateY(-4px);display:flex!important}.custom-symbol-coordinates{opacity:1;max-height:60px;transition:max-height .22s,margin .22s,opacity .18s,transform .22s;overflow:hidden;transform:translateY(0)}@media (max-width:760px){.custom-symbol-arc-construction-row{flex-direction:column;align-items:stretch}.custom-symbol-arc-construction,.custom-symbol-arc-construction-row .custom-symbol-check{flex-basis:auto;width:100%}.custom-symbol-editor-row{grid-template-columns:1fr}.custom-symbol-vertex-list{height:140px;min-height:110px}.custom-symbol-coordinates{flex-wrap:wrap}.custom-symbol-coordinate{flex-basis:calc(50% - 2px)}}
