.selection-panel{margin:10px 0;padding:12px;border:1px solid #c7bcd4;border-radius:12px;background:#faf8ff;color:#40384d}.selection-panel[hidden]{display:none}.selection-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.selection-row+ .selection-row{margin-top:10px}.selection-panel button,.selection-panel select,.selection-panel input{font:inherit;min-height:42px;border:1px solid #c2b4d2;border-radius:8px;background:#fff;color:#40384d;padding:7px 10px}.selection-panel button:disabled{opacity:.45}.selection-panel .selection-apply{background:#526747;color:white}.selection-panel label{display:flex;gap:6px;align-items:center;font-size:13px}.selection-panel input[type=number]{width:65px}.selection-panel input[type=checkbox]{min-height:24px;width:24px}.selection-panel p{font-size:13px;margin:8px 0 0}.selection-panel input[type=range]{width:90px}.selection-panel button:focus-visible{outline:3px solid #31bec9}.selection-panel summary{cursor:pointer;padding:8px}.tool-rail button[data-tool=select],.tool-rail button[data-tool=magic]{color:#594676}

.selection-panel [hidden]{display:none!important}.selection-size summary{font-size:13px}.selection-size{margin-top:6px}.selection-panel button{font-size:13px;min-height:44px}.selection-panel p{line-height:1.35}.selection-panel input[type=number]{width:60px}
.selection-heading,.selection-footer,.selection-finish,.selection-nudge{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.selection-heading,.selection-footer{justify-content:space-between}.selection-heading{margin-bottom:10px}.selection-heading>span{font-size:12px;color:#756783}.picture-tools{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px}.selection-panel .picture-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:70px;padding:7px 3px;background:#f1ecf7;border-color:#d2c6df;font-size:11px;font-weight:600;line-height:1.2}.picture-tool svg{width:27px;height:27px;flex-shrink:0}.selection-panel button:hover:not(:disabled){background:#e2d6f0;border-color:#8b71a7}.selection-panel button:active:not(:disabled){transform:translateY(1px)}.selection-panel .selection-apply{background:#526747;color:white;min-width:86px}.selection-panel .selection-apply:hover:not(:disabled){background:#405337}.selection-finish .picture-tool{flex-direction:row;min-height:44px;padding:8px 12px;font-size:13px}.selection-finish svg{width:22px;height:22px}.selection-nudge{gap:4px}.selection-nudge>span{font-size:12px;margin-right:3px}.selection-nudge button{padding:8px;min-width:44px}.selection-nudge svg{display:block;width:22px;height:22px}.selection-footer{margin-top:8px}.selection-size summary,.selection-tips summary{padding:5px;font-size:12px}.selection-panel .magic-options{margin:8px 0}.tool-rail [data-tool=select] svg,.tool-rail [data-tool=magic] svg{width:25px;height:25px;display:block;margin:auto}.selection-panel button:disabled{opacity:.4}.selection-panel{padding:10px}.selection-panel p{font-size:12px}@media(max-width:1100px){.picture-tools{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:500px){.picture-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.selection-heading>span{width:100%}}
