html,body,#root{height:100%}.shell{display:grid;grid-template-rows:auto var(--topbar-h) minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100%;min-width:0;background:var(--bg);-webkit-user-select:none;user-select:none}.shell input,.shell textarea,.shell [contenteditable],.shell .via-kv-v,.shell .runs-log,.shell .via-log,.shell [role=alert],.shell .ig-error,.shell .sig-edit-error,.shell .ui-dialog-text{-webkit-user-select:text;user-select:text}.shell-banner-slot{grid-row:1}.shell-banner-slot:empty{display:none}.shell-top{grid-row:2}.shell-main{grid-row:3}.shell-top{display:flex;align-items:center;gap:var(--space-8);min-width:0;padding:0 var(--space-8) 0 var(--space-12);background:var(--surface);border-bottom:1px solid var(--line)}.shell-brand{display:inline-flex;align-items:center;align-self:stretch;padding-right:var(--space-12);margin-right:var(--space-4);border-right:1px solid var(--line)}.shell-model{width:clamp(180px,18vw,280px);flex:none}.shell-model .via-input{width:100%}.shell-nav{display:flex;align-items:center;gap:var(--space-2);margin-left:var(--space-8);min-width:0;overflow-x:auto;scrollbar-width:thin}.shell-nav::-webkit-scrollbar{height:4px}.shell-nav::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:4px}.shell-nav__item{flex:none}.shell-nav__item{display:inline-flex;align-items:center;gap:var(--space-6);height:var(--control-h);padding:0 10px;border-radius:var(--radius-sm);color:var(--ink-muted);text-decoration:none;font-size:13px;transition:background-color .12s,color .12s}.shell-nav__item:hover{background:var(--surface-hover);color:var(--ink)}.shell-nav__item.active{background:var(--accent-soft);color:var(--ink);font-weight:500}.shell-nav__item.active .via-icon{color:var(--accent)}.shell-nav__item[aria-disabled=true]{opacity:var(--opacity-disabled);cursor:default}.shell-nav__item[aria-disabled=true]:hover{background:none;color:var(--ink-muted)}.shell-nav__item:focus-visible{outline:none;box-shadow:var(--focus-ring)}.shell-main{min-height:0;overflow:auto}.screen-stub{box-sizing:border-box;height:100%;display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-24)}.screen-stub h1,.screen-stub p{margin:0}.screen-stub__map{position:relative;flex:1;min-height:320px;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.shell-splash{height:100%;display:flex;align-items:center;justify-content:center;gap:var(--space-8);color:var(--ink-muted);background:var(--bg)}.shell-recovery{max-width:480px;margin:var(--space-32) auto;padding:var(--space-16);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md)}.shell-recovery h1,.shell-recovery p{margin:0 0 var(--space-12)}.shell-recovery button,.shell-recovery a{display:inline-flex;margin-right:var(--space-8)}.shell-main,.shell .ws-main,.shell .ws-dock,.shell .ig-main,.shell .ig-side,.shell .dmd-main,.shell .dmd-side,.shell .dmd-mx,.shell .dmd-mx__body{min-width:0}.shell .via-tasks{width:100%;max-width:100%;box-sizing:border-box}.shell .via-task-main,.shell .via-task-title{min-width:0;overflow-wrap:anywhere}.shell .ws-head,.shell .ws-row__meta,.shell .dmd-head,.shell .sig-top,.shell .runs-section__bar,.shell .runs-results .via-seg{flex-wrap:wrap}.shell .via-field,.shell .via-input{min-width:0;max-width:100%}.shell .via-input input,.shell .via-input select{min-width:0}.shell .via-log{max-width:100%;overflow:auto}@media(max-width:1280px){.shell .runs-results__map-wrap,.shell .runs-card__grid,.shell .runs-charts__grid{grid-template-columns:minmax(0,1fr)}.shell .ws{grid-template-columns:minmax(0,1fr) 320px}.shell .ig{grid-template-columns:minmax(0,1fr) 350px}}@media(max-width:1023px){.shell{grid-template-rows:auto auto minmax(0,1fr)}.shell-top{flex-wrap:wrap;padding:var(--space-8)}.shell-brand{padding-right:var(--space-8);margin-right:0}.shell-model{width:auto;min-width:120px;flex:1 1 160px}.shell-top>.via-spacer{display:none}.shell-nav{order:4;flex:1 0 100%;margin-left:0}.shell-nav__item{padding:0 var(--space-8)}.shell-nav__item .via-icon{flex:none}.shell .ws,.shell .ig,.shell .events,.shell .runs,.shell .dmd,.shell .dmd-split,.shell .sig{height:auto;min-height:100%}.shell .ws,.shell .ig,.shell .events,.shell .runs,.shell .dmd-split,.shell .sig-main{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;align-content:start}.shell .ws-main,.shell .ws-dock,.shell .ig-main,.shell .ig-side,.shell .runs__main,.shell .events__main,.shell .dmd-main{overflow:visible;padding:var(--space-12)}.shell .ws-dock,.shell .ig-side{border-left:0;border-top:1px solid var(--line)}.shell .events__side,.shell .runs__side,.shell .dmd-side{max-height:260px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.shell .dmd-main--matrix{overflow:visible}.shell .dmd-mx__body>.ui-mx,.shell .dmd-mx__heat{flex:none;max-height:500px;max-width:100%}.shell .events-map{grid-template-columns:minmax(0,1fr);min-height:620px}.shell .sig-main{flex:none;overflow:visible}.shell .sig-center{min-height:420px}.shell .runs-compare__controls,.shell .runs-compare__body{grid-template-columns:minmax(0,1fr)}.shell .runs-compare__map{min-height:400px}}@media(max-width:600px){.shell .ws-row{grid-template-columns:16px minmax(0,1fr)}.shell .ws-row__side{grid-column:2;flex-wrap:wrap}.shell .ws-fact{grid-template-columns:minmax(0,1fr) auto}.shell .ws-fact__note{grid-column:1 / -1}.shell .ws-file{flex-wrap:wrap;overflow-wrap:anywhere}.shell .via-panel-head,.shell .via-panel-foot,.shell .via-task-actions{flex-wrap:wrap}.shell .via-task{grid-template-columns:20px minmax(0,1fr)}.shell .via-task-time{grid-column:2}.shell .events-form__row,.shell .runs-form__grid,.shell .runs-compare__form,.shell .users-form__body{grid-template-columns:minmax(0,1fr)}.shell .ig-bus{grid-template-columns:repeat(2,minmax(0,1fr))}.shell .ig-feed__item{grid-template-columns:64px minmax(0,1fr)}.shell .ig-feed__item>:nth-child(n+3){grid-column:2}.shell .users{padding:var(--space-12)}.shell .users-panel{overflow:auto;max-width:100%}.shell .runs-kv{grid-template-columns:minmax(0,1fr)}.shell .runs-kv dd{overflow-wrap:anywhere}.shell .runs-matrices__axis,.shell .dmd-window__axis,.shell .dmd-head .via-seg{flex-wrap:wrap}}.ui-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--z-modal);display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--ink) 40%,transparent)}.ui-dialog{width:480px;max-width:calc(100vw - 2 * var(--space-24));max-height:calc(100vh - 2 * var(--space-24));box-shadow:var(--shadow-modal);outline:none}.ui-dialog-body{display:flex;flex-direction:column;gap:var(--space-12);padding:var(--space-12) var(--via-pad);overflow:auto;min-height:0}.ui-dialog-body:empty{display:none}.ui-dialog-text{margin:0;font-size:13px;line-height:20px;color:var(--ink)}.ui-dialog-foot{justify-content:flex-end}.ui-dialog-form{display:flex;flex-direction:column;gap:var(--space-12)}.ui-dialog-form .via-input{width:100%}.ui-dialog-foot--form{margin:0 calc(-1 * var(--via-pad)) calc(-1 * var(--space-12))}.ui-dialog-list{margin:0;padding-left:var(--space-16);font-size:12px;line-height:18px}.ui-dialog-list li+li{margin-top:var(--space-2)}.ui-tasks-status{display:flex;align-items:center;gap:var(--space-8);padding:var(--space-6) var(--via-pad);font-size:12px;line-height:16px;color:var(--ink-muted)}.ui-tasks-status .via-icon{color:var(--running);flex:none}.ui-tasks-status__title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-tasks-status b{color:var(--ink);font-weight:500}.ui-table-host{position:relative;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.ui-table-host>.via-table{flex:1;min-width:0;min-height:0;border:0;border-radius:0}.ui-table-host .via-table-bar>.via-btn-icon[aria-label=Колонки],.ui-table-host .via-table-bar>.via-btn-icon[aria-label="Выгрузить CSV / XLSX"]{display:none}.ui-table-host .via-table-bar{padding-right:68px}.ui-table-tools{position:absolute;top:var(--space-6);right:var(--space-8);z-index:var(--z-panel);display:flex;gap:var(--space-4)}.ui-popover{position:absolute;top:calc(100% + var(--space-4));right:0;width:260px;z-index:var(--z-popover);box-shadow:var(--shadow-popover)}.ui-popover-body{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-8) var(--via-pad);max-height:320px;overflow:auto}.ui-popover--menu{width:280px;padding:var(--space-4);display:flex;flex-direction:column}.ui-popover--menu .via-btn{justify-content:flex-start}.ui-table-note{margin:0;padding:var(--space-4) var(--space-8);font-size:12px;border-top:1px solid var(--line)}.ui-table-note[data-tone=danger]{color:var(--danger)}.ui-merge-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-8);max-height:50vh;overflow:auto}.ui-merge-item{display:flex;flex-direction:column;gap:var(--space-6);padding:var(--space-8);border:1px solid var(--line);border-radius:var(--radius-sm)}.ui-merge-head{display:flex;align-items:baseline;gap:var(--space-8);font-size:13px}.ui-merge-take{flex-wrap:wrap}.ui-merge-value .via-input{width:100%}.ui-steps{min-width:0}.ui-step-dirty{display:inline-block;margin-left:var(--space-6);vertical-align:1px;background:var(--map-edit)}.ui-params{width:auto}.ui-params .via-input{width:100%}.ui-params .via-params-group{max-height:none}.ui-viara{min-width:0;font-size:12px;line-height:16px}.ui-viara__sum{display:inline-flex;align-items:center;cursor:pointer;list-style:none;border-radius:var(--radius-sm)}.ui-viara__sum::-webkit-details-marker{display:none}.ui-viara__sum:focus-visible{outline:none;box-shadow:var(--focus-ring)}.ui-viara[open]{flex:1 0 100%}.ui-viara__notes{margin:var(--space-4) 0 0;color:var(--ink);white-space:normal}.ui-viara__note{position:relative;margin:0;padding-left:var(--space-16)}.ui-viara__note+.ui-viara__note{margin-top:var(--space-2)}.ui-viara__note:before{content:"–";position:absolute;left:var(--space-4);color:var(--ink-muted)}.ui-viara-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-8)}.ui-usermenu{position:relative;display:flex;align-items:center}.ui-usermenu__pop{top:calc(100% + var(--space-4));right:0;width:240px}.ui-usermenu__who{display:flex;gap:var(--space-8);align-items:center;padding:var(--space-8) var(--space-8) var(--space-6);border-bottom:1px solid var(--line);margin-bottom:var(--space-4)}.ui-usermenu__who>span{display:flex;flex-direction:column;min-width:0}.ui-usermenu__who b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-usermenu__who .via-icon{color:var(--ink-muted);flex:none}.ui-help{position:relative;display:inline-flex;align-items:center}.ui-help__pop{width:360px;top:calc(100% + var(--space-4))}.ui-help__pop--left{left:0;right:auto}.ui-help__pop--right{right:0;left:auto}.ui-help__body p{margin:0;font-size:13px;line-height:20px}.ui-help__body p+p{margin-top:var(--space-8)}.ui-hotkeys{width:100%;border-collapse:collapse;font-size:13px}.ui-hotkeys td{padding:var(--space-6) var(--space-8);border-bottom:1px solid var(--line);vertical-align:top}.ui-hotkeys tr:last-child td{border-bottom:0}.ui-hotkeys__keys{white-space:nowrap;width:200px}.ui-tour__step{display:flex;gap:var(--space-12);align-items:flex-start}.ui-tour__icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:var(--radius-md);background:var(--accent-soft);color:var(--accent)}.ui-tour__title{margin:0 0 var(--space-4)}.ui-tour__text{margin:0;font-size:13px;line-height:20px}.ui-tour__dots{display:flex;gap:var(--space-6);justify-content:center}.ui-tour__dot{width:6px;height:6px;border-radius:var(--radius-full);background:var(--line)}.ui-tour__dot[data-active=true]{background:var(--accent)}.ui-action-host{display:contents}.ui-vt-list{overflow-x:hidden;overflow-y:auto;min-height:0;flex:1 1 auto}.via-vt .via-vt-title b{flex:0 1 auto;min-width:3.5em}.via-vt .via-vt-title .via-badge{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.via-vt .via-vt-branches{flex:0 0 auto;max-height:68px;overflow-y:auto}.ui-vt-compact{min-width:0;min-height:0;max-height:100%;display:flex;flex-direction:column}.ui-vt-compact .via-panel-head{flex:0 0 auto;padding:5px 8px;gap:2px;flex-wrap:wrap}.ui-vt-compact .via-panel-title{font-size:12px;min-width:100px;flex:1 1 auto}.ui-vt-compact .via-vt-branches{max-height:42px;padding:4px 8px;gap:4px 8px;font-size:10px}.ui-vt-compact .via-vt-branch{min-width:0;max-width:100%;flex-wrap:wrap;white-space:normal;overflow-wrap:anywhere}.ui-vt-compact .via-vt-row{height:32px;min-height:32px;padding:0 6px 0 0;gap:4px}.ui-vt-compact .via-vt-body{min-width:0;padding:0}.ui-vt-compact .via-vt-title{gap:4px;font-size:12px;line-height:15px;min-width:0}.ui-vt-compact .via-vt-title b{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.ui-vt-compact .via-vt-title .via-badge{font-size:9px;line-height:12px;padding:0 3px}.ui-vt-compact .via-vt-meta{font-size:11px;line-height:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-vt-compact .via-vt-conflict{font-size:11px;line-height:13px}.ui-vt-compact .via-vt-conflict span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-vt-search{flex:0 0 auto;display:flex;gap:4px;padding:5px 8px}.ui-vt-search input{min-width:0;width:100%;height:28px;padding:3px 7px;font:inherit;font-size:12px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:4px}.ui-vt-search input::-webkit-search-cancel-button{-webkit-appearance:none}.ui-vt-pinned{flex:0 0 auto;max-height:96px;overflow-y:auto;border-bottom:1px solid var(--line)}.ui-vt-search input:focus-visible,.ui-vt-disclosure:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.ui-vt-filter,.ui-vt-empty{margin:0;padding:4px 8px;font-size:11px;color:var(--ink-muted);flex:0 0 auto}.ui-vt-details{flex:0 1 auto;min-width:0;min-height:26px;max-height:40%;display:flex;flex-direction:column;border-top:1px solid var(--line)}.ui-vt-disclosure{width:100%;text-align:left;border:0;padding:6px 8px;background:transparent;color:var(--ink);font:inherit;font-size:11px;cursor:pointer}.ui-vt-disclosure:before{content:"▸";margin-right:5px}.ui-vt-disclosure[aria-expanded=true]:before{content:"▾"}.ui-vt-description{flex:1 1 auto;min-height:0;max-height:min(22vh,140px);overflow-y:auto;padding:0 8px 8px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:11px;line-height:16px}.ui-vt-description p{margin:4px 0}
