/* Dedicated real-device surface; transport, recovery policies and STOP behavior are unchanged. */
.tech-workspace-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 300px); gap: 22px; align-items: start; }
.application-shell-v2 .tech-device-workspace { min-width: 0; padding: 24px; }
.tech-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid #ffffff12; }
.tech-section-heading h3 { font-size: 17px; line-height: 1.5; font-weight: 500; margin: 0; }
.tech-section-heading > span { font-size: 10px; color: #b9ab82; border: 1px solid #d4af3728; border-radius: 6px; padding: 5px 8px; }
.tech-workspace-guide { display: grid; gap: 18px; min-width: 0; }
.application-shell-v2 .tech-workspace-guide > .panel { padding: 20px; }
.application-shell-v2 .tech-safety-card { background: linear-gradient(135deg, #28151a, #171415); border-color: #c41e3a38; }
.tech-safety-card > .ui-icon { width: 24px; height: 24px; color: #e593a2; margin-bottom: 15px; }
.tech-workspace-guide h3 { font-size: 15px; font-weight: 500; line-height: 1.5; margin: 0 0 12px; }
.tech-safety-card p { font-size: 12px; color: #d1babf; line-height: 1.8; margin: 0; }
.tech-safety-card small { display: block; font-size: 11px; color: #a98f95; line-height: 1.8; margin-top: 15px; padding-top: 14px; border-top: 1px solid #c41e3a25; }
.tech-step-card ol { padding: 0; margin: 20px 0 0; list-style: none; counter-reset: tech-step; display: grid; gap: 21px; }
.tech-step-card li { position: relative; padding-left: 34px; counter-increment: tech-step; }
.tech-step-card li::before { content: counter(tech-step, decimal-leading-zero); position: absolute; left: 0; top: 2px; color: #baa464; font-size: 10px; letter-spacing: .06em; }
.tech-step-card strong { display: block; font-size: 12px; line-height: 1.6; font-weight: 500; margin-bottom: 6px; }
.tech-step-card li > span { display: block; color: var(--color-gray-400); font-size: 11px; line-height: 1.8; }
.tech-session-note { margin: 0; padding: 0 6px; color: var(--color-gray-500); font-size: 11px; line-height: 1.8; }
.tech-load-error { padding: 16px; margin: 18px 0; border: 1px solid #c41e3a55; border-radius: 10px; }
.tech-load-error p { font-size: 13px; line-height: 1.8; color: #e7bdc5; }
.kinky-tech-manager-toolbar { display: flex; justify-content: flex-end; align-items: center; padding: 12px 0; }
.application-shell-v2 .kinky-tech-emergency-stop-inline { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 18px; font-size: 12px; letter-spacing: .08em; color: #ffe9ed; background: #8d1930; border: 1px solid #d04c67; border-radius: 9px; }
.kinky-tech-emergency-stop-inline .ui-icon { width: 16px; height: 16px; fill: currentColor; }
.application-shell-v2 .kinky-tech-emergency-stop-inline:disabled { opacity: .4; }
.kinky-tech-manager-feedback { padding: 12px 15px; border-left: 2px solid #d4af3766; background: #d4af3708; border-radius: 0 8px 8px 0; color: #d6bf7c; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; margin: 0 0 18px; }
.application-shell-v2 .tech-device-workspace .kinky-tech-consent { padding: 13px 15px; border-radius: 10px; margin-bottom: 18px; }
.tech-device-workspace .kinky-tech-consent strong { font-size: 13px; font-weight: 500; line-height: 1.7; }
.tech-device-workspace .kinky-tech-diagnostic { padding: 16px; margin-bottom: 18px; border-radius: 10px; }
.tech-device-workspace .kinky-tech-diagnostic strong { font-size: 13px; font-weight: 500; }
.tech-device-workspace .kinky-tech-diagnostic span { font-size: 12px; line-height: 1.8; }
.application-shell-v2 .kinky-tech-add-device { padding: 17px; border-radius: 12px; border-color: #c41e3a4c; background: #c41e3a0b; gap: 14px; transition: background-color 150ms ease, border-color 150ms ease; }
.kinky-tech-add-device strong { font-size: 14px; line-height: 1.6; font-weight: 500; }
.kinky-tech-add-device small { font-size: 11px; line-height: 1.8; }
.application-shell-v2 .kinky-tech-add-device-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #c41e3a50; border-radius: 11px; background: #c41e3a1b; color: #e7abb6; }
.kinky-tech-add-device-icon::before, .kinky-tech-add-device-icon::after { content: none; }
.kinky-tech-add-device-icon .ui-icon { width: 21px; height: 21px; }
.tech-device-workspace .kinky-tech-device-list { margin-top: 20px; gap: 12px; }
.application-shell-v2 .kinky-tech-device-card { padding: 17px; gap: 12px; border-radius: 12px; border-color: #ffffff17; background: #ffffff02; }
.application-shell-v2 .kinky-tech-device-card.is-connected { border-color: #d4af3748; background: #d4af3704; }
.tech-device-workspace .kinky-tech-device-symbol { width: 40px; height: 40px; border-radius: 11px; }
.tech-device-workspace .kinky-tech-device-symbol svg { width: 25px; height: 25px; }
.tech-device-workspace .kinky-tech-device-summary h4 { font-size: 14px; font-weight: 500; line-height: 1.6; }
.tech-device-workspace .kinky-tech-device-meta { font-size: 10px; line-height: 1.7; }
.tech-device-workspace .kinky-tech-device-visibility { font-size: 9px; padding: 4px 7px; }
.kinky-tech-device-menu .ui-icon { width: 17px; height: 17px; color: #c3bba9; }
.application-shell-v2 .kinky-tech-settings-close::before { content: none; }
.kinky-tech-settings-close .ui-icon { width: 18px; height: 18px; }
.application-shell-v2 .kinky-tech-settings-dialog { border-radius: 17px; padding: 25px; border-color: #ffffff20; background: #151413; }
.kinky-tech-settings-heading h3 { font-size: 20px; font-weight: 500; }
.kinky-tech-settings-heading small { font-size: 11px; }
.kinky-tech-settings-dialog .field > span { font-size: 12px; }
.application-shell-v2 .kinky-tech-settings-dialog input:not([type='range']):not([type='checkbox']), .application-shell-v2 .kinky-tech-settings-dialog select { font-size: 13px; min-height: 42px; }
.kinky-tech-settings-dialog .kinky-tech-motors legend { font-size: 13px; }
.kinky-tech-settings-dialog .kinky-tech-programs-heading strong { font-size: 14px; font-weight: 500; }
.kinky-tech-settings-dialog .kinky-tech-programs-heading small, .kinky-tech-wave-help { font-size: 11px; line-height: 1.8; }
.kinky-tech-program-add .ui-icon { width: 14px; height: 14px; }
.kinky-tech-settings-dialog .kinky-tech-wave-card h4, .kinky-tech-settings-dialog .kinky-tech-program-card strong { font-size: 13px; }
.kinky-tech-settings-dialog .kinky-tech-wave-card header > .ui-icon, .kinky-tech-settings-dialog .kinky-tech-program-card-heading > .ui-icon { width: 18px; height: 18px; color: #c4ad70; }
.application-shell-v2 .kinky-tech-program-editor { background: #171615; border-color: #ffffff24; border-radius: 16px; }
.kinky-tech-coyote-tutorial { border-radius: 10px; }
.kinky-tech-coyote-tutorial summary { font-size: 12px; }
.kinky-tech-coyote-tutorial p, .kinky-tech-coyote-tutorial li { font-size: 12px; line-height: 1.85; }
.tech-device-workspace .empty-state { padding: 35px 18px; font-size: 13px; color: var(--color-gray-500); border: 1px solid #ffffff0d; border-radius: 12px; }
@media (max-width: 1000px) {
    .tech-workspace-layout { grid-template-columns: minmax(0, 1fr); }
    .tech-workspace-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-session-note { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .tech-workspace-guide { grid-template-columns: minmax(0, 1fr); }
    .application-shell-v2 .tech-device-workspace { padding: 17px; }
    .application-shell-v2 .kinky-tech-device-card { padding: 13px; gap: 10px; flex-wrap: wrap; }
    .tech-device-workspace .kinky-tech-device-summary { flex: 1 1 150px; }
    .application-shell-v2 .kinky-tech-settings-dialog { padding: 18px; }
    .kinky-tech-settings-heading h3 { font-size: 18px; }
    .kinky-tech-settings-heading .kinky-tech-device-symbol { width: 40px; height: 40px; }
    .application-shell-v2 .kinky-tech-settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .application-shell-v2 .kinky-tech-settings-actions .btn { font-size: 12px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .kinky-tech-add-device { transition: none; } }
