okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
0b3299a01
main
1/* Model setup, run profiles and expert editing share the existing Strata kit. */ 2. model-run { max-width : 1140 px ; margin : 0 auto; display : grid; grid-template-columns : minmax ( 0 , 1 fr ); gap : 16 px ; animation : run-reveal220 ms var ( --st-ease )} 3. model-run >* { min-width : 0 } 4. run-toolbar { display : flex; align-items : center; justify-content : flex-end; gap : 10 px ; border-bottom : 1 px solidvar ( --st-line ); padding-bottom : 16 px } 5. run-toolbar > . st-btn { flex : none; height : 36 px ; white-space : nowrap} 6. run-profile-bar { display : flex; align-items : center; gap : 12 px ; min-width : 0 ; flex-wrap : wrap; justify-content : flex-end} 7. run-profile-choice ,. run-profile-actions { display : flex; align-items : center; gap : 10 px ; min-width : 0 } 8. run-profile-choice > label { font-size : 13 px ; white-space : nowrap; font-weight : 500 } 9. run-profile-choice > . st-input { min-width : 180 px ; width : auto; max-width : 260 px ; height : 36 px ; font-size : 13 px } 10. run-profile-state { font-size : 11 px ; color : var ( --st-ink-muted ); white-space : nowrap} 11. run-profile-state [data-custom ]{ color : var ( --st-warn-text )} 12. run-profile-actions . st-btn { height : 34 px ; white-space : nowrap} 13. run-layout { display : grid; grid-template-columns : minmax ( 0 , 1.5 fr ) minmax ( 300 px , 1 fr ); gap : 24 px ; align-items : start} 14. run-setup { display : grid; gap : 16 px ; min-width : 0 } 15. run-card { background : var ( --st-surface ); border : 1 px solidvar ( --st-line ); border-radius : 18 px ; padding : 20 px ; min-width : 0 } 16. run-card__head { display : flex; align-items : center; justify-content : space-between; gap : 12 px ; margin-bottom : 17 px } 17. run-card__head > span : first-child { display : flex; align-items : center; gap : 9 px ; min-width : 0 } 18. run-card__head h2 { font-size : 15 px ; font-weight : 700 ; line-height : 1.3 ; margin : 0 } 19. run-card__head . st-icon { color : var ( --st-ink-muted ); flex-shrink : 0 } 20. run-status { display : flex; align-items : center; gap : 6 px ; font-size : 11 px ; color : var ( --st-ink-muted ); white-space : nowrap} 21. run-status i ,. run-ready-dot { display : inline-block; width : 6 px ; height : 6 px ; border-radius : 50 % ; background : var ( --st-ink-muted ); flex-shrink : 0 } 22. run-status i [data-ready ],. run-ready-dot [data-ready ]{ background : var ( --st-accent )} 23. run-model-family { display : flex; align-items : center; gap : 10 px ; margin : 0 0 18 px } 24. run-model-family > . st-icon { color : var ( --st-accent-text ); flex-shrink : 0 } 25. run-model-family . st-input . select { padding : 0 ; min-height : 30 px ; height : auto; background : transparent; border : 0 ; box-shadow : none; font-size : 20 px ; font-weight : 700 ; letter-spacing : -.25 px ; border-radius : 4 px } 26. run-model-family . st-input . select : hover ,. run-model-family . st-input . select [aria-expanded = true ]{ background : transparent; border : 0 ; box-shadow : none} 27. run-model-family . st-input . select : focus-visible { outline : 2 px solidvar ( --st-focus ); outline-offset : 4 px } 28. run-version-choice { display : flex; align-items : center; gap : 16 px } 29. run-version-choice > span { font-size : 13 px ; color : var ( --st-ink-muted )} 30. run-version-choice . st-input . select { height : 38 px ; min-height : 38 px ; font-size : 13 px ; flex : 1 ; min-width : 0 ; background : var ( --st-surface-2 )} 31. run-model-choice { container-type : inline-size; container-name : model-choice} 32. run-image-model { border-top : 1 px solidvar ( --st-line-soft ); padding-top : 18 px ; margin-top : 18 px ; min-width : 0 } 33. run-image-model__choice { display : flex; align-items : center; justify-content : space-between; gap : 16 px } 34. run-image-model__label { display : flex; align-items : center; gap : 10 px ; min-width : 0 } 35. run-image-model__label > . st-icon { color : var ( --st-ink-muted ); flex-shrink : 0 } 36. run-image-model__label strong { display : flex; align-items : center; gap : 8 px ; font-size : 13 px ; line-height : 1.4 } 37. run-image-model__label strong small { font-size : 10 px ; font-weight : 400 ; color : var ( --st-ink-muted ); background : var ( --st-surface-2 ); border-radius : 5 px ; padding : 2 px 5 px } 38. run-image-model__label a { display : block; color : var ( --st-ink-muted ); font-size : 11 px ; text-decoration : none; margin-top : 4 px } 39. run-image-model__label a : hover { text-decoration : underline; color : var ( --st-ink )} 40. run-image-model__choice > . st-input . select { width : 154 px ; flex : none; min-height : 38 px ; height : 38 px ; font-size : 13 px ; background : var ( --st-surface-2 )} 41. run-image-model__action { display : flex; align-items : center; justify-content : space-between; gap : 12 px ; margin-top : 14 px } 42. run-image-model__status { display : flex; align-items : center; gap : 6 px ; font-size : 11 px ; color : var ( --st-ink-muted )} 43. run-image-model__status > . st-icon { color : var ( --st-accent-text )} 44. run-image-model__action > . st-btn { white-space : nowrap} 45. run-image-download { margin-top : 12 px } 46. run-image-download > div { display : flex; align-items : center; justify-content : space-between; gap : 12 px ; font-size : 11 px ; color : var ( --st-ink-muted )} 47. run-image-download b { font-variant-numeric : tabular-nums; color : var ( --st-ink ); margin-left : 5 px } 48. run-image-download progress { display : block; width : 100 % ; height : 5 px ; border : 0 ; border-radius : 5 px ; overflow : hidden; margin-top : 8 px ; background : var ( --st-line-soft )} 49. run-image-download progress :: -webkit-progress-bar { background : var ( --st-line-soft )} 50. run-image-download progress :: -webkit-progress-value { background : var ( --st-accent ); border-radius : 5 px } 51. run-image-download progress :: -moz-progress-bar { background : var ( --st-accent ); border-radius : 5 px } 52. run-image-memory-note { display : flex; align-items : flex-start; gap : 7 px ; margin : 16 px 0 0 ; font-size : 11 px ; line-height : 1.5 ; color : var ( --st-ink-muted )} 53. run-image-memory-note > . st-icon { flex : none; margin-top : 1 px } 54. run-context . run-card__head { margin-bottom : 6 px } 55. run-context . run-card__head > strong { font-size : 18 px ; white-space : nowrap; letter-spacing : -.4 px } 56. run-context . run-card__head > strong small { font-size : 11 px ; font-weight : 400 ; color : var ( --st-ink-muted ); letter-spacing : 0 } 57. run-context > p { font-size : 13 px ; color : var ( --st-ink-muted ); margin : 0 0 13 px } 58. run-context-presets { display : grid; grid-template-columns : repeat ( 4 , minmax ( 0 , 1 fr )); background : var ( --st-surface-2 ); border : 1 px solidvar ( --st-line-soft ); border-radius : 12 px ; padding : 4 px ; gap : 4 px } 59. run-context-presets button { font-family : var ( --st-font ); color : var ( --st-ink ); background : transparent; border : 1 px solid transparent; border-radius : 9 px ; min-height : 46 px ; display : flex; flex-direction : column; align-items : center; justify-content : center; gap : 2 px ; cursor : pointer; transition : backgroundvar ( --st-dur ), border-colorvar ( --st-dur ), box-shadowvar ( --st-dur )} 60. run-context-presets button > span { font-size : 15 px ; font-weight : 500 } 61. run-context-presets button > small { font-size : 9 px ; color : var ( --st-ink-muted )} 62. run-context-presets button [aria-pressed = true ]{ background : var ( --st-surface ); border-color : var ( --st-line ); box-shadow : 0 1 px 3 px rgba ( 0 , 0 , 0 , .05 )} 63. run-context-presets button [aria-pressed = true ]> span { color : var ( --st-accent-text )} 64. run-context-presets button : hover : not (: disabled ){ background : var ( --st-surface )} 65. run-context-presets button : disabled { opacity : .35 ; cursor : default} 66. run-context-bottom { display : flex; align-items : center; justify-content : flex-end; gap : 12 px ; margin-top : 12 px } 67. run-context-exact { display : flex; align-items : center; gap : 6 px ; font-size : 11 px ; color : var ( --st-ink-muted )} 68. run-context-exact . st-input { height : 28 px ; min-height : 28 px ; width : 64 px ; padding : 4 px 8 px ; font-size : 12 px ; border-radius : 7 px ; text-align : center; appearance : textfield} 69. run-context-exact input :: -webkit-inner-spin-button { appearance : none} 70. run-resource-options { display : grid; grid-template-columns : 1 fr 1 fr ; gap : 10 px } 71. run-resource-options button { font-family : var ( --st-font ); text-align : left; display : flex; flex-direction : column; gap : 7 px ; background : var ( --st-surface ); border : 1 px solidvar ( --st-line ); border-radius : 12 px ; padding : 12 px ; cursor : pointer; color : var ( --st-ink ); transition : backgroundvar ( --st-dur ), border-colorvar ( --st-dur )} 72. run-resource-options button [aria-pressed = true ]{ border-color : var ( --st-accent-text ); background : color-mix ( in srgb, var ( --st-accent-tint ) 55 % , var ( --st-surface ))} 73. run-resource-options button > span { display : flex; align-items : center; justify-content : space-between; width : 100 % ; margin-bottom : 3 px } 74. run-resource-options button > span > i { display : grid; place-items : center; width : 16 px ; height : 16 px ; border : 1 px solidvar ( --st-line ); border-radius : 50 % ; background : var ( --st-surface ); font-style : normal} 75. run-resource-options button [aria-pressed = true ]> span { color : var ( --st-accent-text )} 76. run-resource-options button [aria-pressed = true ]> span > i { background : var ( --st-accent-text ); color : #fff ; border-color : var ( --st-accent-text )} 77. run-resource-options strong { font-size : 13 px ; line-height : 1.3 } 78. run-resource-options small { font-size : 11 px ; color : var ( --st-ink-muted ); line-height : 1.4 } 79. run-resources__hint { display : flex; align-items : center; gap : 6 px ; color : var ( --st-ink-muted ); font-size : 11 px ; margin : 13 px 0 0 } 80. run-preview { position : sticky; top : 24 px ; display : grid; gap : 16 px ; min-width : 0 } 81. run-source { font-size : 10 px ; color : var ( --st-ink-muted ); background : var ( --st-surface-2 ); padding : 4 px 7 px ; border-radius : 6 px ; white-space : nowrap} 82. run-speeds { display : grid; grid-template-columns : 1 fr 1 fr ; gap : 20 px ; margin : 26 px 0 24 px } 83. run-speeds > div { display : flex; flex-direction : column; gap : 8 px ; min-width : 0 } 84. run-speeds > div > span { display : flex; align-items : center; gap : 6 px ; font-size : 12 px ; color : var ( --st-ink-muted )} 85. run-speeds > div > strong { font-size : 29 px ; font-weight : 700 ; letter-spacing : -1 px ; line-height : 1.1 ; font-variant-numeric : tabular-nums} 86. run-speeds > div > small { font-size : 10 px ; color : var ( --st-ink-muted ); margin-top : -3 px } 87. run-memory__total { display : flex; align-items : center; justify-content : space-between; border-top : 1 px solidvar ( --st-line-soft ); padding-top : 19 px ; margin-bottom : 12 px ; gap : 12 px } 88. run-memory__total > span { font-size : 12 px ; font-weight : 500 } 89. run-memory__total > strong { font-size : 20 px ; letter-spacing : -.4 px } 90. run-memory__total small { font-size : 12 px ; font-weight : 400 ; color : var ( --st-ink-muted )} 91. run-memory-bar { display : flex; gap : 3 px ; height : 10 px ; overflow : hidden; border-radius : 4 px ; background : var ( --st-surface-2 )} 92. run-memory-bar > span { min-width : 2 px ; transition : flex250 ms var ( --st-ease )} 93[data-pool = ram ]{ background : var ( --st-accent )} 94[data-pool = gpu ]{ background : var ( --st-info )} 95[data-pool = ssd ]{ background : var ( --st-warn ); background-image : repeating-linear-gradient ( 120 deg , transparent0 4 px , rgba ( 255 , 255 , 255 , .22 ) 4 px 6 px )} 96[data-pool = free ]{ background : var ( --st-line )} 97[data-pool = over ]{ background : var ( --st-danger )} 98. run-memory-legend { display : flex; flex-wrap : wrap; gap : 8 px 17 px ; margin : 13 px 0 20 px } 99. run-memory-legend > span { display : flex; align-items : center; gap : 5 px ; font-size : 10 px ; color : var ( --st-ink-muted )} 100. run-memory-legend i { width : 6 px ; height : 6 px ; border-radius : 2 px } 101. run-memory-legend b { font-weight : 500 ; color : var ( --st-ink )} 102. run-fit-note { display : flex; align-items : flex-start; gap : 9 px ; background : var ( --st-accent-tint ); border-radius : 11 px ; padding : 12 px ; color : var ( --st-accent-text )} 103. run-fit-note > . st-icon { margin-top : 2 px ; flex-shrink : 0 } 104. run-fit-note strong { font-size : 12 px ; font-weight : 500 } 105. run-fit-note p { font-size : 11 px ; line-height : 1.5 ; color : var ( --st-ink-muted ); margin : 4 px 0 0 } 106. run-fit-note [data-spill ]{ background : var ( --st-warn-tint ); color : var ( --st-warn-text )} 107. run-fit-note button { display : flex; align-items : center; gap : 4 px ; border : 0 ; background : transparent; padding : 8 px 0 0 ; font-family : var ( --st-font ); font-size : 11 px ; font-weight : 500 ; color : inherit; cursor : pointer} 108. run-fit-note button . st-icon { transform : rotate ( -90 deg )} 109. run-memory-details { margin-top : 16 px } 110. run-memory-details summary { list-style : none; cursor : pointer; display : flex; align-items : center; justify-content : space-between; font-size : 11 px ; color : var ( --st-ink-muted )} 111. run-memory-details summary :: -webkit-details-marker { display : none} 112. run-memory-details [open ]summary . st-icon { transform : rotate ( 180 deg )} 113. run-memory-details dl { display : grid; gap : 7 px ; margin : 15 px 0 } 114. run-memory-details dl > div { display : flex; justify-content : space-between; gap : 12 px ; font-size : 11 px } 115. run-memory-details dt { color : var ( --st-ink-muted )} 116. run-memory-details dd { margin : 0 ; white-space : nowrap} 117. run-computer { padding : 19 px 22 px } 118. run-computer . run-card__head { margin-bottom : 15 px } 119. run-computer > div : not (. run-card__head ){ display : flex; gap : 9 px ; align-items : center; margin-top : 10 px ; font-size : 12 px } 120. run-computer > div > . st-icon { color : var ( --st-ink-muted ); flex-shrink : 0 } 121. run-computer > div > span { min-width : 0 ; overflow-wrap : anywhere} 122. run-computer small { display : block; color : var ( --st-ink-muted ); font-size : 10 px ; margin-top : 3 px } 123. run-actions { display : flex; align-items : center; justify-content : flex-end; gap : 16 px ; border-top : 1 px solidvar ( --st-line ); padding-top : 18 px ; margin-top : 1 px } 124. run-actions > . st-btn { height : 42 px ; flex-shrink : 0 ; min-width : 143 px } 125. run-secondary-actions { display : flex; flex-wrap : wrap; align-items : center; gap : 2 px ; margin-left : -8 px ; min-width : 0 } 126. run-secondary-actions . st-btn { font-size : 11 px ; min-height : 28 px ; height : auto; padding : 6 px 8 px ; gap : 5 px } 127. run-issues { display : grid; gap : 8 px } 128. run-issues > p { display : flex; align-items : flex-start; gap : 8 px ; font-size : 12 px ; line-height : 1.5 ; margin : 0 ; color : var ( --st-warn-text )} 129. run-issues > p [data-tone = error ]{ color : var ( --st-danger-text )} 130. run-issues . st-icon { flex-shrink : 0 ; margin-top : 2 px } 131. run-save-profile { display : grid; gap : 15 px } 132. run-save-profile > p { margin : 0 } 133. run-default-choice { display : flex; align-items : flex-start; gap : 9 px ; font-size : 13 px } 134. run-default-choice input { margin-top : 3 px ; accent-color : var ( --st-accent )} 135. run-default-choice small { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-top : 4 px ; line-height : 1.5 } 136. dialog-surface . run-library-dialog { width : min ( 940 px , calc ( 100 vw - 40 px )); height : auto; max-height : calc ( 100 vh - 56 px )} 137. run-library-dialog > . dialog-body { flex : initial; overflow : auto; padding : 24 px ; min-height : 0 } 138. run-library-dialog . model-page { gap : 16 px } 139. version-detail__actions { flex-wrap : wrap; gap : 8 px ; min-width : 0 } 140. version-detail__actions > . st-btn { max-width : 100 % ; white-space : normal; margin : 0 } 141. run-library-dialog . model-installed { margin-top : 0 } 142. run-expert { animation : run-reveal180 ms var ( --st-ease )} 143. run-expert__tabs { display : flex; gap : 4 px ; background : var ( --st-surface-2 ); padding : 4 px ; border-radius : 9 px ; margin-bottom : 18 px ; width : fit-content} 144. run-expert__tabs button { display : flex; align-items : center; gap : 6 px ; font-family : var ( --st-font ); font-size : 12 px ; border : 0 ; background : transparent; color : var ( --st-ink-muted ); padding : 7 px 12 px ; border-radius : 7 px ; cursor : pointer} 145. run-expert__tabs button [aria-selected = true ]{ color : var ( --st-ink ); background : var ( --st-surface ); box-shadow : 0 1 px 3 px rgba ( 0 , 0 , 0 , .06 )} 146. run-expert__filter { display : grid; grid-template-columns : 1 fr 160 px ; gap : 9 px } 147. run-expert__filter . st-input { min-height : 36 px ; height : 36 px ; font-size : 12 px } 148. run-expert__options { display : flex; align-items : center; flex-wrap : wrap; gap : 12 px ; margin : 12 px 0 20 px ; font-size : 11 px ; color : var ( --st-ink-muted )} 149. run-expert__options label { display : flex; align-items : center; gap : 5 px } 150. run-expert__options input { accent-color : var ( --st-accent ); margin : 0 } 151. run-expert__group { margin-top : 22 px } 152. run-expert__group h3 { font-size : 12 px ; margin : 0 0 8 px ; color : var ( --st-ink-muted ); font-weight : 500 } 153. run-expert__row { display : grid; grid-template-columns : minmax ( 0 , 1 fr ) minmax ( 120 px , .7 fr ); gap : 12 px ; padding : 13 px 0 ; border-top : 1 px solidvar ( --st-line-soft ); align-items : center} 154. run-expert__row label { display : block; font-size : 12 px ; font-weight : 500 } 155. run-expert__row code { display : block; font-size : 10 px ; color : var ( --st-ink-muted ); margin-top : 3 px ; overflow-wrap : anywhere} 156. run-expert__row p { font-size : 10 px ; margin : 4 px 0 0 } 157. run-expert__row [data-changed ]label : before { content : '' ; width : 5 px ; height : 5 px ; display : inline-block; background : var ( --st-warn ); border-radius : 50 % ; margin-right : 5 px } 158. run-expert__control { display : flex; align-items : center; gap : 5 px ; min-width : 0 } 159. run-expert__control > . st-input { font-size : 12 px ; height : 34 px ; min-height : 34 px ; padding : 6 px 9 px ; min-width : 0 ; flex : 1 } 160. run-field-reset { width : 25 px ; height : 28 px ; display : grid; place-items : center; border : 0 ; background : transparent; color : var ( --st-ink-muted ); cursor : pointer; flex-shrink : 0 } 161. run-field-reset : disabled { opacity : .25 ; cursor : default} 162. run-expert__foot { display : flex; align-items : center; gap : 7 px ; flex-wrap : wrap; margin-top : 20 px ; padding-top : 15 px ; border-top : 1 px solidvar ( --st-line-soft )} 163. run-expert__foot . st-btn { font-size : 10 px ; min-height : 25 px ; height : auto; padding : 4 px 0 ; margin-left : auto} 164. run-expert . config-editor { min-height : 400 px ; font-size : 11 px } 165@keyframes run-reveal{ from { opacity : 0 ; transform : translateY ( 5 px )} to { opacity : 1 ; transform : none}} 166@keyframes run-pulse{ 50 % { opacity : .4 }} 167@media ( min-width : 1700 px ){. model-run { max-width : 1240 px }. run-card { padding : 25 px }. run-layout { gap : 28 px }} 168@media ( max-width : 1100 px ){. run-toolbar { flex-wrap : wrap}. run-profile-choice { flex-wrap : wrap}. run-layout { gap : 18 px ; grid-template-columns : minmax ( 0 , 1.35 fr ) minmax ( 285 px , 1 fr )}. run-card { padding : 19 px }. run-speeds > div > strong { font-size : 25 px }. run-profile-actions { gap : 3 px }. run-profile-actions . st-btn { font-size : 11 px }} 169@media ( max-width : 900 px ){. run-layout { display : flex; flex-direction : column; gap : 16 px }. run-setup { display : contents}. run-setup > . run-card { order : 1 ; width : 100 % }. run-preview { position : static; order : 2 ; width : 100 % ; grid-template-columns : 1 fr 1 fr ; align-items : start}. run-setup > . run-expert { order : 3 }. run-issues ,. run-setup > . verror { order : 4 }. run-actions { order : 5 ; width : 100 % }. run-computer { height : 100 % }. run-profile-actions . st-btn { white-space : normal}} 170@media ( max-width : 600 px ){. model-run { gap : 18 px }. run-toolbar { display : grid; grid-template-columns : minmax ( 0 , 1 fr ) auto; gap : 10 px ; align-items : end}. run-profile-bar { display : contents}. run-profile-choice { grid-column : 1 / -1 ; width : 100 % ; gap : 8 px }. run-profile-choice > . st-input { flex : 1 ; max-width : none; min-width : 130 px }. run-profile-state { flex-basis : 100 % ; padding-left : 26 px }. run-profile-actions { justify-content : flex-start; flex-wrap : wrap; gap : 4 px }. run-profile-actions . st-btn { height : 34 px }. run-toolbar > . st-btn { font-size : 11 px ; height : 34 px ; padding-inline : 10 px }. run-layout { gap : 13 px }. run-card { padding : 18 px ; border-radius : 15 px }. run-model-family . st-input . select { font-size : 17 px }. run-card__head { margin-bottom : 15 px }. run-card__head h2 { font-size : 14 px }. run-card__head > span : first-child { gap : 7 px }. run-context . run-card__head > strong { font-size : 16 px }. run-context . run-card__head > strong small { display : none}. run-resource-options { gap : 8 px }. run-resource-options button { padding : 11 px ; gap : 6 px }. run-resource-options strong { font-size : 12 px }. run-resource-options small { font-size : 10 px }. run-preview { grid-template-columns : 1 fr }. run-actions { gap : 10 px ; padding-top : 16 px ; flex-wrap : wrap}. run-actions > . st-btn { margin-left : auto}. run-actions > . st-btn { min-width : 130 px ; font-size : 12 px }. run-secondary-actions { gap : 0 }. run-expert__filter { grid-template-columns : 1 fr }. run-expert__row { grid-template-columns : minmax ( 0 , 1 fr ) minmax ( 110 px , .8 fr )}. dialog-surface . run-library-dialog { width : calc ( 100 vw - 20 px ); max-height : calc ( 100 dvh - 20 px )}. run-library-dialog > . dialog-body { padding : 16 px }. run-context-exact . st-input { width : 55 px }} 171@media ( prefers-reduced-motion : reduce){. model-run ,. run-expert ,. run-ready-dot [data-busy ]{ animation : none}. model-run * { transition : none!important }} 172. run-basics { display : grid; gap : 16 px ; min-width : 0 } 173. run-basics [hidden ]{ display : none!important } 174. run-basics-summary { display : flex; align-items : center; gap : 11 px ; text-align : left; background : var ( --st-surface ); border : 1 px solidvar ( --st-line ); border-radius : 13 px ; padding : 14 px 17 px ; font-family : var ( --st-font ); color : var ( --st-ink ); cursor : pointer} 175. run-basics-summary > span { flex : 1 ; min-width : 0 } 176. run-basics-summary strong { display : block; font-size : 14 px } 177. run-basics-summary small { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-top : 4 px } 178. run-basics-summary > . st-icon : first-child { color : var ( --st-accent-text ); flex-shrink : 0 } 179. run-basics-summary [aria-expanded = true ]> . st-icon : last-child { transform : rotate ( 180 deg )} 180. run-model-summary { cursor : default} 181@container model-choice( max-width : 390 px ){. run-image-model__choice { flex-wrap : wrap; gap : 12 px }. run-image-model__choice > . st-input . select { width : 100 % ; flex : 1 }. run-image-model__label { width : 100 % }} 182@media ( max-width : 600 px ){. run-image-model__choice { flex-wrap : wrap; gap : 12 px }. run-image-model__choice > . st-input . select { width : 100 % ; flex : 1 }. run-image-model__action { align-items : flex-start}. run-image-model__label { width : 100 % }. run-basics-summary small { line-height : 1.5 }} 183@media ( max-width : 900 px ){. run-basics { display : contents}. run-basics > . run-card { order : 1 ; width : 100 % }. run-basics-summary { order : 1 ; width : 100 % }} 184. run-setup > . run-actions { position : sticky; bottom : 0 ; z-index : 3 ; background : var ( --st-bg ); padding : 15 px 0 ; box-shadow : 0 -7 px 12 px var ( --st-bg )} 185@media ( max-width : 600 px ){. wrap : has ( > . model-run ){ padding-inline : 0 }} 186. run-header-short { display : none} 187@media ( max-width : 600 px ){. run-header-full { display : none}. run-header-short { display : inline}} 188 189/* Run profiles have a wider menu and a comfortable option rhythm. */ 190. select__pop--comfortable { padding : 8 px ; display : flex; flex-direction : column; gap : 4 px } 191. select__pop--comfortable . select__opt { min-height : 48 px ; height : auto; padding : 12 px 14 px ; gap : 12 px ; font-size : 13 px ; line-height : 1.4 ; flex : none; overflow-wrap : anywhere} 192. select__pop--comfortable . select__opt [aria-selected = true ]{ font-weight : 500 } 193. main__title-detail { font-weight : 400 } 194. run-toolbar > . run-saved-settings { min-width : 160 px ; max-width : 260 px ; gap : 9 px } 195. run-saved-settings > span { overflow : hidden; white-space : nowrap; text-overflow : ellipsis; min-width : 0 } 196. run-saved-settings > . st-icon { flex : none} 197. run-saved-settings > i { width : 5 px ; height : 5 px ; border-radius : 50 % ; background : var ( --st-warn ); flex : none} 198. run-settings-menu-label { padding : 10 px 12 px 7 px ; color : var ( --st-ink-muted ); font-size : 11 px } 199. run-settings-option { min-height : 46 px ; height : auto; padding : 10 px 12 px ; gap : 12 px } 200. run-settings-option > span { min-width : 0 ; overflow-wrap : anywhere} 201. run-settings-option small { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-top : 3 px ; font-weight : 400 } 202. run-settings-option [aria-checked = true ]{ color : var ( --st-accent-text )} 203. run-settings-icon { display : grid; place-items : center; width : 30 px ; height : 30 px ; border-radius : 9 px ; background : var ( --st-surface-2 ); color : var ( --st-ink-muted ); flex : none} 204. run-settings-option [aria-checked = true ]. run-settings-icon { background : var ( --st-accent-tint ); color : var ( --st-accent-text )} 205. run-settings-selected { margin-left : auto; color : var ( --st-accent-text ); flex : none} 206. run-settings-action { height : auto; min-height : 42 px ; padding : 7 px 12 px ; gap : 12 px } 207. run-settings-menu-divider { height : 1 px ; background : var ( --st-line ); margin : 7 px 10 px } 208@media ( max-width : 600 px ){. run-toolbar { display : flex; flex-wrap : nowrap; gap : 8 px ; align-items : center}. run-toolbar > . run-saved-settings { flex : 1 ; min-width : 0 ; max-width : none}. run-settings-option { min-height : 48 px }} 209@media ( max-width : 767 px ){. main__titles : has (. main__title-detail ) . main__title-line { flex-wrap : wrap; gap : 5 px 10 px }. main__title-detail { white-space : normal; overflow : visible; text-overflow : clip; line-height : 1.5 }} 210 211/* Family selection belongs in the header; the current setup shares the toolbar. */ 212. main__title-detail : has (. run-family-switcher ){ overflow : visible; flex-shrink : 1 } 213. run-family-switcher { display : block; width : clamp ( 205 px , 23 vw , 285 px ); min-width : 0 } 214. run-family-switcher > . st-input . select { height : 34 px ; min-height : 34 px ; font-size : 13 px ; font-weight : 500 ; padding : 6 px 11 px ; border-radius : 10 px ; background : var ( --st-surface-2 )} 215. run-toolbar { align-items : center; min-height : 59 px ; gap : 12 px } 216. run-toolbar > . run-toolbar-summary { flex : 1 ; min-width : 0 ; width : auto; order : 0 ; margin-right : auto; border : 0 ; background : transparent; padding : 4 px 0 ; border-radius : 9 px ; box-shadow : none; height : auto; gap : 10 px } 217. run-toolbar-summary strong ,. run-toolbar-summary small { white-space : nowrap; overflow : hidden; text-overflow : ellipsis} 218. run-toolbar-summary > span { display : flex; align-items : baseline; gap : 10 px } 219. run-toolbar-summary strong { flex : none} 220. run-toolbar-summary small { flex : 1 ; min-width : 0 ; margin-top : 0 } 221button . run-toolbar-summary : focus-visible { outline : 2 px solidvar ( --st-focus ); outline-offset : 4 px } 222button . run-toolbar-summary : hover > span strong { color : var ( --st-accent-text )} 223. run-toolbar > . run-saved-settings { min-width : 142 px } 224@media ( max-width : 1200 px ){. main__head : has (. run-family-switcher ){ height : auto; min-height : var ( --st-header-h ); flex-wrap : wrap; row-gap : 10 px }. main__head : has (. run-family-switcher ) > . main__titles { flex : 0 1 auto}. main__head : has (. run-family-switcher ) > . main__actions { margin-left : auto}} 225@media ( max-width : 600 px ){. run-toolbar { display : grid; grid-template-columns : minmax ( 0 , 1 fr ) auto; gap : 13 px 8 px }. run-toolbar > . run-toolbar-summary { grid-column : 1 / -1 ; width : 100 % ; margin-right : 0 }. run-toolbar > . run-saved-settings { min-width : 0 ; max-width : none; width : 100 % }. run-family-switcher { width : min ( 260 px , calc ( 100 vw - 104 px ))}. main__titles : has (. run-family-switcher ) . main__title-line { flex-wrap : nowrap; gap : 10 px }} 226 227/* A quiet version list replaces the duplicated library hero and detail card. */ 228. dialog-surface . run-library-dialog { width : min ( 760 px , calc ( 100 vw - 40 px ))} 229. run-library-dialog > . dialog-body { padding : 22 px 24 px 24 px } 230. managed-models { min-width : 0 } 231. managed-models__family { display : flex; align-items : center; gap : 11 px ; min-width : 0 ; margin-bottom : 24 px } 232. managed-models__family > . st-icon { color : var ( --st-accent-text ); flex : none} 233. managed-models__family > . st-input . select { flex : 1 ; max-width : 420 px ; min-width : 0 ; height : 38 px ; min-height : 38 px ; font-size : 16 px ; font-weight : 650 ; letter-spacing : -.2 px ; background : transparent; border-color : transparent; box-shadow : none; padding : 5 px 9 px } 234. managed-models__family > . st-input . select : hover ,. managed-models__family > . st-input . select [aria-expanded = true ]{ background : var ( --st-surface-2 ); border-color : var ( --st-line )} 235. managed-models__family > span { margin-left : auto; font-size : 11 px ; color : var ( --st-ink-muted ); white-space : nowrap} 236. managed-version-head { display : grid; grid-template-columns : minmax ( 0 , 1 fr ) 112 px 116 px ; gap : 18 px ; font-size : 10 px ; color : var ( --st-ink-muted ); padding : 0 16 px 9 px } 237. managed-version-head > span : first-child { padding-left : 33 px } 238. managed-version-head > span : not (: first-child ){ text-align : right} 239. version-ladder--compact { border : 1 px solidvar ( --st-line ); border-radius : 14 px ; gap : 0 ; overflow : hidden; background : var ( --st-surface )} 240. version-ladder--compact . version-rung { display : grid; grid-template-columns : 17 px minmax ( 0 , 1 fr ) 112 px 116 px ; gap : 16 px ; min-height : 62 px ; border : 0 ; border-radius : 0 ; border-bottom : 1 px solidvar ( --st-line-soft ); padding : 12 px 16 px ; background : transparent} 241. version-ladder--compact . version-rung : last-child { border-bottom : 0 } 242. version-ladder--compact . version-rung : hover : not (: disabled ){ background : var ( --st-surface-2 )} 243. version-ladder--compact . version-rung [aria-pressed = true ],. version-ladder--compact . version-rung [aria-pressed = true ]: hover { background : color-mix ( in srgb, var ( --st-accent-tint ) 50 % , var ( --st-surface ))} 244. version-ladder--compact . version-rung__node { display : flex; align-items : center} 245. version-ladder--compact . version-rung__node i { display : grid; place-items : center; width : 16 px ; height : 16 px ; border : 1 px solidvar ( --st-line ); border-radius : 50 % ; font-style : normal; color : var ( --st-surface ); background : var ( --st-surface )} 246. version-ladder--compact . version-rung [aria-pressed = true ]. version-rung__node i { border-color : var ( --st-accent-text ); background : var ( --st-accent-text )} 247. version-ladder--compact . version-rung__label { min-width : 0 } 248. version-ladder--compact . version-rung__label strong { display : block; font-size : 13 px ; font-weight : 600 ; line-height : 1.3 } 249. version-ladder--compact . version-rung__label small { font-size : 10 px ; margin-top : 4 px ; font-weight : 400 ; line-height : 1.2 ; color : var ( --st-ink-muted )} 250. version-ladder--compact . version-rung__size { font-size : 12 px ; white-space : nowrap; text-align : right; font-variant-numeric : tabular-nums} 251. version-ladder--compact . version-rung__state { display : flex; align-items : center; gap : 6 px ; justify-self : end; margin : 0 ; font-size : 10 px ; line-height : 1.4 ; white-space : nowrap; color : var ( --st-ink-muted )} 252. version-rung__info { display : inline-flex; align-items : center; justify-content : center; flex : none; color : var ( --st-ink-muted ); cursor : help} 253. version-memory-tooltip { position : fixed; z-index : var ( --layer-dialog-popover ); width : 260 px ; max-width : calc ( 100 vw - 24 px ); border : 1 px solidvar ( --st-line ); border-radius : 11 px ; padding : 12 px 14 px ; background : var ( --st-surface ); box-shadow : var ( --st-sh-pop ); color : var ( --st-ink-soft ); font-size : 12 px ; line-height : 1.5 ; overflow-wrap : anywhere; pointer-events : auto} 254. version-ladder--compact . version-rung [data-state = loaded ]. version-rung__state { border-radius : 5 px ; padding : 4 px 7 px ; background : var ( --st-accent-tint ); color : var ( --st-accent-text )} 255. managed-models__footer { display : flex; align-items : center; justify-content : space-between; gap : 18 px ; padding-top : 19 px ; margin-top : 19 px ; border-top : 1 px solidvar ( --st-line )} 256. managed-models__memory { display : grid; grid-template-columns : auto auto; align-items : baseline; gap : 5 px 9 px ; min-width : 0 } 257. managed-models__memory > span : first-child { font-size : 11 px ; color : var ( --st-ink-muted )} 258. managed-models__memory > strong { font-size : 17 px ; white-space : nowrap; font-variant-numeric : tabular-nums; letter-spacing : -.3 px } 259. managed-models__memory > strong small { font-size : 11 px ; color : var ( --st-ink-muted ); font-weight : 400 ; letter-spacing : 0 } 260. managed-models__actions { display : flex; align-items : center; gap : 8 px ; flex : none} 261. managed-models__actions > . st-btn { height : 38 px ; min-height : 38 px ; font-size : 12 px ; padding-inline : 15 px ; border-radius : 11 px ; white-space : nowrap} 262. managed-models__actions > . managed-models__more { width : 38 px ; padding : 0 ; background : transparent} 263. managed-models__use > . st-icon : last-child { transform : rotate ( -90 deg )} 264. managed-models__progress { padding-top : 17 px ; font-size : 10 px ; color : var ( --st-ink-muted )} 265. managed-models__progress > span { display : block; margin-top : 7 px ; overflow-wrap : anywhere} 266. managed-models . lifecycle-notice { margin-top : 14 px } 267@media ( max-width : 600 px ){. dialog-surface . run-library-dialog { width : calc ( 100 vw - 20 px )}. run-library-dialog > . dialog-body { padding : 16 px }. managed-models__family { gap : 7 px ; margin-bottom : 20 px }. managed-models__family > . st-input . select { font-size : 13 px ; padding-inline : 4 px }. managed-models__family > span { display : none}. managed-version-head { grid-template-columns : minmax ( 0 , 1 fr ) 60 px 90 px ; gap : 10 px ; padding-inline : 11 px }. managed-version-head > span : first-child { padding-left : 26 px }. managed-version-head > span : nth-child ( 2 ){ font-size : 0 }. managed-version-head > span : nth-child ( 2 ): after { content : 'Size' ; font-size : 10 px }. version-ladder--compact . version-rung { grid-template-columns : 16 px minmax ( 0 , 1 fr ) 60 px 90 px ; gap : 10 px ; padding : 11 px ; min-height : 62 px }. version-ladder--compact . version-rung__label strong { font-size : 12 px }. version-ladder--compact . version-rung__state { font-size : 9 px }. version-ladder--compact . version-rung__size { font-size : 11 px }. managed-models__footer { gap : 12 px ; flex-wrap : wrap}. managed-models__actions { margin-left : auto}. managed-models__memory { flex : 1 }. managed-models__memory > strong { font-size : 15 px }. managed-models__memory > span : first-child { font-size : 10 px }} 268 269/* Independent running models and device placement. */ 270. running-models { min-width : 0 } 271. running-models__heading { display : flex; align-items : center; justify-content : space-between; gap : 12 px ; margin-bottom : 10 px } 272. running-models__heading h2 { font-size : 13 px ; margin : 0 ; font-weight : 600 } 273. running-models__heading h2 span { font-size : 11 px ; color : var ( --st-ink-muted ); margin-left : 5 px } 274. running-models__list { border : 1 px solidvar ( --st-line ); border-radius : 14 px ; background : var ( --st-surface ); overflow : hidden} 275. running-model { display : flex; align-items : center; gap : 12 px ; padding : 12 px 16 px ; min-width : 0 } 276. running-model + . running-model { border-top : 1 px solidvar ( --st-line-soft )} 277. running-model [data-selected ]{ background : color-mix ( in srgb, var ( --st-accent ) 7 % , var ( --st-surface ))} 278. running-model > . st-icon { color : var ( --st-accent-text ); flex : none} 279. running-model__identity { min-width : 0 ; flex : 1 } 280. running-model__identity strong ,. running-model__select { font-size : 13 px ; font-weight : 600 } 281. running-model__select { border : 0 ; padding : 0 ; background : transparent; color : var ( --st-ink ); text-align : left; cursor : pointer} 282. running-model__select : hover { text-decoration : underline} 283. running-model__identity small ,. serving-model small { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-top : 4 px } 284. running-model__status { font-size : 11 px ; color : var ( --st-ink-muted ); white-space : nowrap} 285. running-model__status [data-active ]{ color : var ( --st-accent-text )} 286. running-model__actions { display : flex; align-items : center; gap : 6 px ; flex-wrap : wrap} 287. running-model__actions > . st-btn { height : 30 px ; font-size : 11 px ; white-space : nowrap} 288. run-placement > . select { width : 100 % ; font-size : 13 px } 289. run-placement > p { margin : 12 px 0 0 ; line-height : 1.5 } 290. run-gpu-options { display : grid; gap : 10 px ; margin-top : 14 px } 291. run-gpu-options label { display : flex; align-items : center; gap : 10 px ; font-size : 13 px } 292. run-gpu-options small { display : block; color : var ( --st-ink-muted ); font-size : 11 px ; margin-top : 3 px } 293. run-gpu-options input { accent-color : var ( --st-accent )} 294. run-memory-reservations { display : grid; gap : 8 px ; margin-top : 14 px ; padding-top : 14 px ; border-top : 1 px solidvar ( --st-line-soft ); font-size : 11 px ; color : var ( --st-ink-muted )} 295. run-memory-reservations > span { display : flex; align-items : center; justify-content : space-between; gap : 10 px } 296. run-memory-reservations strong { font-weight : 500 ; color : var ( --st-ink )} 297. run-memory-reservations small { font-size : 10 px } 298. serving-models__list { margin-top : 16 px } 299. serving-model { display : flex; align-items : center; gap : 10 px ; padding : 14 px 0 ; min-width : 0 } 300. serving-model + . serving-model { border-top : 1 px solidvar ( --st-line-soft )} 301. serving-model > div { flex : 1 ; min-width : 0 } 302. serving-model strong { font-size : 13 px } 303. serving-model > code { font-size : 12 px ; overflow-wrap : anywhere; max-width : 45 % } 304. serving-models > p { margin : 12 px 0 0 } 305. request-section . section-toolbar { flex-wrap : wrap} 306. request-section . section-toolbar > . select { max-width : 280 px ; min-width : 180 px ; font-size : 12 px } 307. monitor-scope-note { margin : 0 ; line-height : 1.5 } 308. main__title-detail > . select { max-width : 320 px ; font-size : 12 px ; min-width : 180 px } 309@media ( max-width : 650 px ){ 310. running-model { flex-wrap : wrap; gap : 8 px } 311. running-model__identity { flex-basis : 70 % } 312. running-model__actions { margin-left : 28 px } 313. serving-model { flex-wrap : wrap} 314. serving-model > div { flex-basis : 80 % } 315. serving-model > code { max-width : 90 % ; flex : 1 } 316. serving-models > . section-toolbar { align-items : start; gap : 8 px ; flex-direction : column} 317} 318 319. run-multiple-choice { display : flex; align-items : center; justify-content : space-between; gap : 16 px ; padding-bottom : 18 px ; margin-bottom : 16 px ; border-bottom : 1 px solidvar ( --st-line-soft ); cursor : pointer} 320. run-multiple-choice strong { display : block; font-size : 13 px } 321. run-multiple-choice small { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-top : 4 px ; line-height : 1.5 } 322. run-multiple-choice input { appearance : none; flex : none; width : 36 px ; height : 22 px ; border : 1 px solidvar ( --st-line ); border-radius : 20 px ; background : var ( --st-surface-2 ); cursor : pointer; position : relative} 323. run-multiple-choice input : before { content : "" ; position : absolute; top : 2 px ; left : 2 px ; width : 16 px ; height : 16 px ; background : var ( --st-ink-muted ); border-radius : 50 % ; transition : transform120 ms var ( --st-ease )} 324. run-multiple-choice input : checked { background : var ( --st-accent ); border-color : var ( --st-accent )} 325. run-multiple-choice input : checked : before { transform : translateX ( 14 px ); background : #fff } 326. run-multiple-choice input : focus-visible { outline : 2 px solidvar ( --st-focus ); outline-offset : 3 px } 327. run-multiple-choice input : disabled { cursor : default; opacity : .5 } 328. run-device-label { display : block; font-size : 11 px ; color : var ( --st-ink-muted ); margin-bottom : 7 px }