#mapSidebar #shapesTextMenu{background-image:url(../images/down-arrow-lines.svg),url(../images/shapes-text.svg)!important;background-position:right 8px center,12px center;background-size:27px,29px;background-repeat:no-repeat;padding-left:48px;padding-right:37px}
#shapesTextSection{padding:12px!important;background:#fff;color:#34412d;font:14px/1.45 Arial,sans-serif}
#shapesTextSection p{margin:0 0 10px}
.st-sidebar button,.st-palette button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #a8b39b;border-bottom-width:2px;border-radius:4px;background:#f7f8f2;color:#35402f;min-height:34px;padding:5px 9px;font:600 14px/1.2 Arial,sans-serif;cursor:pointer;text-shadow:none;box-shadow:none;float:none;margin:0}
.st-sidebar button:hover,.st-palette button:hover{background:#e9f1da;border-color:#729842}
.st-sidebar button:focus-visible,.st-palette :focus-visible{outline:3px solid #527cac;outline-offset:2px}
.st-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}.st-add-grid span{font:28px/1 Arial,sans-serif;color:#5d862d}.st-wide{grid-column:1/-1}
.st-sidebar .st-primary{width:100%;background:#719739;color:white;border-color:#587a28;margin-bottom:8px}
.st-small{font:12px/1.4 Arial,sans-serif;color:#59644f;margin:5px 0 8px}.st-help{display:flex;justify-content:space-between;align-items:center;font-size:13px}.st-help b{border-radius:50%;background:#5179b1;color:white;width:21px;line-height:21px;text-align:center}
.st-palette[hidden],.st-palette [hidden]{display:none!important}
.st-palette{display:flex;flex-direction:column;position:fixed;left:auto;right:18px;top:130px;bottom:auto;width:306px;max-width:calc(100vw - 20px);max-height:calc(100vh - 24px);z-index:900;box-sizing:border-box;background:#fffef6;border:2px solid #6e8550;border-radius:6px;box-shadow:3px 4px 0 #0003,0 6px 25px #0003;color:#30372c;font:14px/1.4 Arial,sans-serif;margin:0;padding:0;overflow:hidden;text-align:left}
.st-palette header{flex-shrink:0;display:flex;align-items:center;gap:7px;background:#6da735;color:white;padding:8px;cursor:move;touch-action:none}.st-palette header img{width:27px;height:27px}.st-palette header strong{font-size:17px;flex:1;white-space:nowrap}.st-palette header button{min-height:30px;padding:4px 7px;background:#fffef1;color:#3b5228}
.st-body{padding:10px;min-height:0;overflow-y:auto;box-sizing:border-box}.st-mini{grid-template-columns:repeat(7,1fr);gap:4px}.st-mini button{font-size:25px;min-height:34px;padding:2px}
.st-palette label{display:block;float:none!important;text-align:left!important;font:600 12px/1.4 Arial,sans-serif;color:#445237;width:auto;margin:7px 0 3px;padding:0}
.st-palette input,.st-palette select,.st-palette textarea{box-sizing:border-box;float:none!important;max-width:100%;width:100%;margin:0;padding:6px 7px;border:1px solid #a6b497;border-radius:3px;background:white;color:#2e3829;font:14px/1.3 Arial,sans-serif;min-height:31px;box-shadow:none}.st-palette textarea{resize:vertical;min-height:78px}.st-palette input[type=color]{padding:2px;height:30px;cursor:pointer}.st-palette input[type=range]{padding:0;border:0;accent-color:#719739;min-height:23px;background:transparent}
.st-palette fieldset{border:0;margin:0;padding:0;min-width:0}.st-palette fieldset:disabled{opacity:.45}.st-palette .st-two-col,.st-font-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.st-font-row{grid-template-columns:1fr 68px}.st-format{display:flex;gap:5px;align-items:end}.st-format button{width:32px;min-height:31px}.st-format button[aria-pressed=true]{background:#dcebce;border-color:#58852c}.st-format label{flex:1}.st-format input{height:31px}.st-palette .st-check{display:flex;align-items:center;gap:6px;font-weight:400;align-self:end;min-height:32px;margin-bottom:0}.st-palette input[type=checkbox]{width:17px;height:17px;min-height:0;padding:0;flex:none;accent-color:#719739}.st-range-label{display:flex!important;justify-content:space-between}.st-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-top:8px;border-top:1px solid #d7ddce}.st-palette .st-danger{color:#aa3d2b;border-color:#c29485;background:#fff4ef}.st-notice{color:#8e431f;font-size:12px;margin:8px 0 0}.st-notice:empty{display:none}
#mcsDrawingUI{touch-action:none}body.mcs-shapes-editing #mySvg{touch-action:none}.st-palette button:disabled{cursor:default}
@media(max-height:750px){.st-palette{top:75px}.st-instructions{font-size:11px}.st-body{padding:8px}.st-palette label{margin-top:5px}}
@media print{.st-palette,#mcsDrawingUI{display:none!important}}
.st-draw-buttons button{font-size:12px;gap:4px;padding:5px 3px}.st-draw-buttons svg{width:24px;height:22px;flex:none;fill:#e8f0db;stroke:#64882f;stroke-width:1.8;stroke-linejoin:round}.st-draw-buttons circle{fill:#fff}
.st-map-tools{border-top:1px solid #d7ddce;padding-top:3px;margin:0 0 8px}.st-map-tools>.st-small{display:block;margin:3px 0 5px}.st-map-tools button{font-size:12px;padding:5px 3px}.st-map-tools .st-add-grid{margin-bottom:0}
.st-drawing-tools{border:1px solid #92afc9;border-left:4px solid #527cac;border-radius:3px;background:#eef5fc;padding:9px;margin-bottom:10px}.st-drawing-tools p{font-size:13px;margin:0 0 8px}.st-drawing-actions{display:flex;gap:5px}.st-drawing-actions button{font-size:12px;padding:5px 7px}.st-drawing-actions #stDrawFinish{background:#719739;border-color:#587a28;color:white}.st-drawing-tools small{display:block;margin-top:7px;color:#536678;font-size:11px}.st-palette button:disabled{opacity:.5}.st-palette input:disabled{opacity:.5}
#mcsDrawingUI[data-st-mode=draw],#mcsDrawingUI[data-st-mode=pick]{cursor:crosshair}

#shapesTextSection{box-sizing:border-box;min-width:0}#shapesTextSection .st-shape-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.st-shape-buttons>button{min-width:0;min-height:40px;padding:5px}.st-sidebar .st-shape-buttons span{font-size:31px}.st-sidebar .st-add-grid>button{min-width:0;max-width:100%}.st-draw-buttons [data-st-add=line] path{fill:none}
body.mcs-shapes-space #mcsDrawingUI *{cursor:grab!important}body.mcs-shapes-panning #mySvg *{cursor:grabbing!important}
