/* Mesh sculpt UI only. Terrain sculpting keeps its existing panel and styles. */
.sm-mesh-sculpt-panel { color: #dbe5ee; background: #171c23; font: 12px/1.35 Inter, Segoe UI, Arial, sans-serif; min-width: 270px; }
.sms-header { height: 38px; padding: 0 10px; border-bottom: 1px solid #2b3540; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, #242d38, #1c232c); }
.sms-header > div { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; letter-spacing: .02em; }
.sms-header i { color: #61d1ff; }
.sms-header em { color: #79a6ba; background: #253744; border: 1px solid #35505f; font-size: 9px; font-style: normal; font-weight: 700; padding: 2px 5px; border-radius: 3px; text-transform: uppercase; }
.sms-header button { width: 24px; height: 24px; border: 0; background: transparent; color: #9eb0bc; font-size: 20px; line-height: 1; cursor: pointer; border-radius: 3px; }
.sms-header button:hover { background: #3b2530; color: #ffadb3; }
.sms-body { overflow: auto; max-height: min(76vh, 760px); padding: 8px; display: grid; gap: 8px; }
.sms-status { padding: 8px 9px; color: #aab9c4; background: #11161c; border: 1px solid #2c3640; border-radius: 4px; }
.sms-status.is-active { color: #c5f2ff; border-color: #2c788f; background: #10212a; }
.sms-section { border: 1px solid #2a3440; background: #1b222b; border-radius: 4px; padding: 8px; }
.sms-section-title { margin-bottom: 7px; display: flex; justify-content: space-between; align-items: baseline; color: #e4edf4; font-weight: 700; }
.sms-section-title output { color: #8093a1; font-size: 10px; font-weight: 500; text-align: right; }
.sms-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.sms-main-actions { display: grid; grid-template-columns: 1.2fr 1.1fr .7fr; }
.sms-btn { min-height: 27px; padding: 5px 8px; border: 1px solid #35424d; border-radius: 3px; background: #26303a; color: #c9d6df; cursor: pointer; font: inherit; font-size: 11px; }
.sms-btn:hover:not(:disabled) { border-color: #5e9cb4; background: #30424e; color: #eef9ff; }
.sms-btn:disabled { opacity: .42; cursor: default; }
.sms-btn.is-primary { border-color: #278ab0; background: #146687; color: #effcff; }
.sms-btn.is-primary:hover:not(:disabled) { background: #1c7eaa; }
.sms-btn.is-danger { border-color: #82414c; color: #ffb4ba; }
.sms-brush-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sms-brush { min-height: 47px; padding: 4px 2px; display: grid; place-items: center; gap: 2px; border: 1px solid #33404c; border-radius: 3px; background: #222b34; color: #aebfcb; cursor: pointer; font: inherit; font-size: 10px; }
.sms-brush b { color: #8edfff; font-size: 16px; line-height: 1; }
.sms-brush:hover:not(:disabled), .sms-brush.is-active { border-color: #49bbdf; color: #ecf9ff; background: #173d4d; }
.sms-brush.is-active b { color: #fff; }
.sms-brush:disabled { opacity: .4; cursor: default; }
.sms-range { display: grid; grid-template-columns: 68px 48px 1fr; align-items: center; gap: 7px; min-height: 26px; color: #b9c8d2; }
.sms-range output { color: #7fd6f5; text-align: right; font: 10px ui-monospace, Consolas, monospace; }
.sms-range input { width: 100%; accent-color: #3bc0ec; }
.sms-select, .sms-switch-row { min-height: 28px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #b8c5cf; }
.sms-select select, .sms-switch-row select { min-width: 88px; padding: 3px 5px; color: #dbe9f1; background: #11171d; border: 1px solid #3a4854; border-radius: 3px; }
.sms-switch-row span { color: #778b99; font-size: 10px; }
.sms-switch-row input { accent-color: #4ac7ec; }
.sms-note, .sms-help { margin: 7px 0 0; color: #8395a3; font-size: 10px; }
.sms-help { margin: 0; padding: 3px 2px; color: #708693; }
body.sm-mesh-sculpt-active .transform-controls { pointer-events: none; }
