.feature-tools{background:#f9faf3;color:#254b47;border:1px solid #c2d2c7;border-radius:14px;padding:14px;margin-bottom:20px}.feature-tools h2{font-size:18px;margin:0 0 8px}.feature-tools .small{font-size:12px;line-height:1.6;color:#5b746b}.feature-tools label{display:flex;flex-direction:column;gap:5px;font-size:12px;margin:10px 0}.feature-tools label.checkbox{flex-direction:row;align-items:center;gap:7px}.feature-tools input:not([type=checkbox]),.feature-tools select,.feature-sketch-toolbar select{width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid #c4d2c5;border-radius:7px;background:#fff;color:#2c4e43}.feature-row,.feature-actions{display:flex;gap:8px;align-items:end}.feature-row>*{min-width:0;flex:1}.feature-actions{flex-wrap:wrap}.feature-tools button,.feature-sketch-dialog button{padding:9px 11px;border-radius:8px;border:1px solid #a9bdb0;background:#e7eee4;color:#284f43;cursor:pointer}.feature-tools button:disabled{opacity:.5;cursor:default}.feature-tools .feature-primary{width:100%;background:#315d50;color:white;border-color:#315d50;margin-top:8px}.feature-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 0}.feature-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;font-size:11px}.feature-choices button[aria-pressed=true]{border-color:#3f7761;background:#d9e8dc;box-shadow:inset 0 0 0 1px #3f7761}.feature-choices svg{width:100%;height:42px;fill:#7a9a82;stroke:#416e5d;stroke-width:1.5}.feature-tools input:focus-visible,.feature-tools select:focus-visible,.feature-tools button:focus-visible,.feature-sketch-dialog button:focus-visible{outline:3px solid #d5a170;outline-offset:2px}#feature-status{font-size:12px;line-height:1.6}#feature-pick[aria-pressed=true]{background:#edbf82;color:#422d19}.feature-sketch-dialog{width:min(850px,94vw);max-height:92dvh;padding:20px;border:1px solid #9ab5a5;border-radius:18px;background:#f8faf3;color:#294d43}.feature-sketch-dialog::backdrop{background:#173e3777;backdrop-filter:blur(3px)}.feature-dialog-head{display:flex;gap:12px;justify-content:space-between}.feature-dialog-head h2{margin:0 0 5px}.feature-dialog-head p,.feature-dialog-foot p{font-size:13px;line-height:1.5}.feature-dialog-head button{align-self:start}.feature-sketch-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.feature-sketch-toolbar label{font-size:12px;display:flex;gap:5px;align-items:center}.feature-sketch-toolbar select{width:auto}.feature-sketch-toolbar button{font-size:12px}#feature-sketch-canvas{display:block;width:100%;height:min(50dvh,440px);border:1px solid #b7ccc0;border-radius:10px;background:#fbfdf8;touch-action:none;cursor:crosshair}#feature-sketch-canvas circle{cursor:grab}.feature-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px}.feature-dialog-foot button{flex-shrink:0;background:#315d50;color:#fff}#sketch-readout{font-size:13px;min-height:20px}.feature-tools [hidden]{display:none!important}
.feature-history{margin:12px 0 16px;padding:11px;border:1px solid #a6c9bb;border-radius:10px;background:#edf5ed}.feature-history h3{font-size:14px;margin:0 0 7px}.feature-history-item{display:block;width:100%;text-align:left;margin:5px 0!important;padding:8px!important;background:#fff!important}.feature-history-item[aria-pressed=true]{border-color:#a57639!important;background:#fff0d7!important;box-shadow:inset 3px 0 #a57639}#feature-selected-name{font-size:12px;font-weight:600;line-height:1.5}.feature-history .feature-actions>button{font-size:11px;flex:1}.feature-history .feature-actions{align-items:stretch}#feature-remove-selected:not(:disabled){color:#8e4431;border-color:#c7a192;background:#fff0e7}
#feature-thread-click{width:100%;background:#dcece3;border-color:#618f78;font-weight:600}#feature-thread-click[aria-pressed=true]{background:#ffd99d;border-color:#a97537;color:#634117;box-shadow:inset 0 0 0 1px #a97537}
.feature-face-dialog{width:min(800px,94vw);max-height:92dvh;overflow:auto;padding:20px;border:1px solid #9ab5a5;border-radius:18px;background:#f8faf3;color:#294d43}.feature-face-dialog::backdrop{background:#173e3777;backdrop-filter:blur(3px)}.feature-face-dialog>p{font-size:13px;line-height:1.5}.feature-face-dialog button{padding:9px 12px;border:1px solid #92b29c;border-radius:8px;background:#dceade;color:#284d42;cursor:pointer}#face-placement-canvas{width:100%;height:min(47dvh,420px);display:block;background:#fdfef9;border:1px solid #bfd0c0;border-radius:10px;touch-action:none;cursor:crosshair}.feature-face-coordinates{display:flex;gap:12px;align-items:end;margin-top:14px;flex-wrap:wrap}.feature-face-coordinates label{display:flex;flex-direction:column;gap:5px;font-size:12px;flex:1}.feature-face-coordinates input{width:100%;min-width:100px;box-sizing:border-box;padding:9px;border:1px solid #bdcdbf;border-radius:7px}.feature-face-dialog #face-placement-apply{background:#315d50;color:white}.model-face-view{position:absolute;top:12px;left:12px;z-index:3;pointer-events:none;padding:8px 11px;border:1px solid #bdcec4;border-radius:8px;background:#f8fcf3e8;color:#285447;font-size:12px;font-weight:600;box-shadow:0 2px 7px #234e3820}#feature-face-pick{width:100%;font-weight:600;background:#dcece3;border-color:#618f78}#feature-face-pick[aria-pressed=true]{background:#ffd99d;border-color:#a97537}
