.nav-label-short {display:none}
#tests-panel {padding:8px 16px 16px;flex:1;min-height:0;overflow:auto}
#workspace-main[data-view=tests]>.heading {position:absolute;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.testing-heading {display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.testing-heading {justify-content:space-between;margin-bottom:12px}
.testing-heading-actions {display:flex;align-items:center;gap:12px}
.testing-heading-actions p {margin:0}
.testing-filters {display:grid;grid-template-columns:minmax(140px,2fr) repeat(2,minmax(120px,1fr));gap:12px;padding:12px}
.testing-list {display:grid;gap:12px}.testing-card {border-radius:12px;text-align:left;padding:16px;display:grid;gap:8px;min-width:0;overflow-wrap:anywhere;font-weight:400;color:var(--md-sys-color-on-surface)}
.testing-card>p {margin:0}.testing-card strong {color:var(--md-sys-color-on-surface);font-size:16px;font-weight:600;line-height:1.4}
.testing-card>button {justify-self:start}
#testing-editor {padding:16px;min-width:0}.object-details #testing-editor {width:100%;max-width:760px;margin:auto}
#testing-fields {display:grid;gap:16px;min-width:0}#testing-fields label {display:block;margin:0 0 6px}
#testing-fields fieldset {margin:0;padding:12px;border:1px solid var(--md-sys-color-outline-variant);border-radius:12px;min-width:0}
#testing-fields legend {font-size:14px;font-weight:600;overflow-wrap:anywhere}
.testing-check {display:flex!important;align-items:center;gap:10px;min-height:48px;padding:8px;margin:0!important;overflow-wrap:anywhere}
.testing-check input {width:20px;min-height:20px;flex:0 0 20px;margin:0}
.testing-check span {min-width:0}.testing-fields-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.testing-step,.testing-binding {display:grid;gap:12px;margin-bottom:12px!important}
.testing-context-link,#testing-fields button {max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
.testing-context-link {text-align:left;white-space:normal;overflow-wrap:anywhere;width:100%}
.testing-preview {margin:16px 0;padding:12px;border:1px solid var(--md-sys-color-outline-variant);border-radius:12px;background:var(--md-sys-color-surface-container-lowest);overflow-wrap:anywhere}
.testing-preview h3 {font-size:14px;margin:0 0 8px}.testing-preview p {margin:6px 0}
.testing-actions {position:sticky;bottom:0;display:flex;gap:8px;padding:12px 0;background:var(--md-sys-color-surface-container-low)}
#testing-delete {width:100%;margin:8px 0}#testing-context {overflow-wrap:anywhere;white-space:normal}
@media(max-width:1100px){.object-detail-open>#tests-panel {display:none!important}}
@media(max-width:599px){
 .sidebar nav button {min-width:44px;max-width:100%;width:100%}
 .sidebar nav {min-width:0;width:100%;grid-template-columns:repeat(5,minmax(0,1fr))}
 .sidebar-collapsed .sidebar .nav-item {padding:4px 2px;gap:3px}
 .sidebar .nav-label {overflow-wrap:anywhere;line-height:1.1}
 .nav-label-full {display:none}.nav-label-short {display:inline}
 #tests-panel {padding:8px 12px 12px}.testing-heading {align-items:flex-start}.testing-tabs {flex:1}
 #tests-new {width:48px;min-width:48px;font-size:0;padding:12px;gap:0}.testing-filters {grid-template-columns:minmax(0,1fr)}
 #testing-editor {padding:16px}.testing-actions button {flex:1;min-width:0}.testing-fields-actions button {font-size:13px;padding:8px}
}
#execution-editor {padding:16px;min-width:0;width:100%;max-width:760px;margin:auto}
#execution-context {white-space:normal;overflow-wrap:anywhere}
#execution-form {display:grid;gap:16px}
#execution-form fieldset {display:grid;gap:10px;margin:0;padding:12px;border:1px solid var(--md-sys-color-outline-variant);border-radius:12px;min-width:0}
#execution-form legend {font-size:14px;font-weight:600}#execution-form label,#execution-void-form label {display:block;font-weight:600}
#execution-editor button,#execution-editor a {max-width:100%;white-space:normal;overflow-wrap:anywhere}
#execution-editor p,#execution-editor h3,#execution-editor h4 {overflow-wrap:anywhere}
.execution-text {white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
#execution-snapshot {border-left:3px solid var(--md-sys-color-outline-variant);padding-left:12px}
#execution-snapshot:empty {display:none}#execution-snapshot h3 {font-size:16px;margin:8px 0}
.execution-snapshot-binding,.execution-record-snapshot {margin:12px 0;padding:10px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px}
.execution-snapshot-binding summary,.execution-record-snapshot summary {min-height:44px;display:list-item;list-style-position:inside;padding:10px 0;cursor:pointer;overflow-wrap:anywhere}
#execution-history-content>.execution-outcome {font-size:16px;font-weight:600}
.execution-binding,.execution-evidence-row {border:1px solid var(--md-sys-color-outline-variant);border-radius:10px;padding:12px;margin:12px 0}
#execution-evidence .execution-evidence-row {margin:0 0 12px}
#execution-void-form {margin:16px 0;display:grid;gap:12px}
#execution-repeat {margin:8px 0}
@media(max-width:599px){#execution-editor {padding:16px}#execution-form .testing-fields-actions button {flex:1;font-size:13px;padding:8px}}

@media(max-width:599px){#execution-save {font-size:13px;padding:10px 12px}}

@media(max-width:599px){
 .testing-tabs.segmented-control {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;flex-basis:100%;gap:2px}
 .testing-tabs.segmented-control button {padding:8px 5px;gap:4px;font-size:12px;min-width:0}
 .testing-tabs.segmented-control button::before {width:18px;height:18px}
 .testing-heading-actions {width:100%;justify-content:space-between;min-height:48px}
}
.testing-filters>button {align-self:end;justify-self:start}
.testing-criterion-path {display:grid;gap:8px;margin:8px 0;padding:12px;border:1px solid var(--md-sys-color-outline-variant);border-radius:8px;overflow-wrap:anywhere}
.testing-criterion-path p {margin:0}.testing-criterion-path button {justify-content:flex-start;text-align:left;white-space:normal}
.testing-criterion-path.is-context {border-color:var(--md-sys-color-primary);background:var(--md-sys-color-secondary-container)}
.testing-path {padding:12px 16px;border-bottom:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);overflow-wrap:anywhere}
.testing-path button {text-align:left;justify-content:flex-start;border:0;background:transparent;padding:4px 0;white-space:normal;border-radius:4px;min-height:44px;width:100%}
.testing-path p {margin:4px 0;line-height:1.5}
#release-dialog {width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px}
.release-heading {display:flex;align-items:center;justify-content:space-between;gap:16px}.release-heading h2 {margin:0;font-size:22px}
.release-build {display:block;overflow-wrap:anywhere;user-select:all;font-size:13px;padding:12px;background:var(--md-sys-color-surface-container);border-radius:8px}
#release-dialog p,#release-notes li {line-height:1.6}#release-notes h3 {font-size:16px}

#testing-path-back::before {transform:rotate(180deg)}
