html,body,#root{height:100%}.shell{display:grid;grid-template-rows:auto auto 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);color:inherit;text-decoration:none}.shell-brand:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:var(--radius-sm)}.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-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}}.shell-top{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;padding:0}.shell-top__primary{display:flex;align-items:center;gap:var(--space-8);min-height:var(--topbar-h);min-width:0;padding:0 var(--space-12)}.shell-workspace-row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-8);min-width:0;padding:var(--space-4) var(--space-12);border-top:1px solid var(--line)}.shell-workspace-row .shell-nav{margin:0}.shell-branch{margin-left:auto;min-width:0}.shell-row-slot{display:inline-flex;align-items:center}.shell-row-slot:empty{display:none}.mapscr-version-note{margin:0;padding:var(--space-4) var(--space-12);background:var(--accent-soft);font-size:12px}@media(max-width:1023px){.shell-top__primary{flex-wrap:wrap;padding:var(--space-8)}}.ui-branchswitch{position:relative;display:flex;align-items:center;min-width:0}.ui-branchswitch>.via-btn{max-width:clamp(200px,30vw,360px)}.ui-branchswitch>.via-btn[aria-expanded=true]{background:var(--accent-soft-strong)}.ui-branchswitch[data-pinned=true]>.via-btn{background:var(--accent-soft)}.ui-branchswitch[data-pinned=true]>.via-btn .via-icon:first-child{color:var(--accent)}.ui-branchswitch__label{display:inline-flex;align-items:baseline;gap:var(--space-6);min-width:0}.ui-branchswitch__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ui-branchswitch__version{flex:none;color:var(--ink-muted);font-size:12px;white-space:nowrap}.ui-branchswitch__version:before{content:"·";margin-right:var(--space-6)}.ui-branchswitch .ui-branchswitch__pop{right:0;left:auto;width:320px;max-width:calc(100vw - 2 * var(--space-16))}.ui-branchswitch__search{padding:var(--space-8);border-bottom:1px solid var(--line)}.ui-branchswitch__search .via-input{width:100%}.ui-branchswitch__search .via-icon{margin-left:var(--space-8);color:var(--ink-muted);flex:none}.ui-branchswitch__list{list-style:none;margin:0;padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);max-height:320px;overflow:auto;outline:none}.ui-branchswitch__list:focus-visible{box-shadow:inset 0 0 0 2px var(--accent);border-radius:var(--radius-sm)}.ui-branchswitch__opt{display:flex;align-items:center;gap:var(--space-8);min-height:var(--control-h);padding:0 var(--space-8);border-radius:var(--radius-sm);cursor:pointer;font-size:13px}.ui-branchswitch__opt[data-active=true]{background:var(--surface-hover)}.ui-branchswitch__opt[aria-selected=true]{font-weight:500}.ui-branchswitch__opt[aria-selected=true] .via-icon{color:var(--accent)}.ui-branchswitch__opt-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-branchswitch__opt--head{margin-top:var(--space-4);border-top:1px solid var(--line);border-radius:0 0 var(--radius-sm) var(--radius-sm);color:var(--ink-muted)}.ui-branchswitch__opt--head .via-icon{flex:none}.ui-branchswitch__note{margin:0;padding:var(--space-4) var(--space-12) var(--space-12);color:var(--ink-muted);font-size:12px}.ui-modelswitch{position:relative;display:flex;align-items:center;min-width:0}.ui-modelswitch>.via-btn{max-width:clamp(180px,22vw,320px)}.ui-modelswitch>.via-btn[aria-expanded=true]{background:var(--accent-soft-strong)}.ui-modelswitch__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-modelswitch .ui-modelswitch__pop{left:0;right:auto;width:320px;max-width:calc(100vw - 2 * var(--space-16))}.ui-modelswitch__search{padding:var(--space-8);border-bottom:1px solid var(--line)}.ui-modelswitch__search .via-input{width:100%}.ui-modelswitch__search .via-icon{margin-left:var(--space-8);color:var(--ink-muted);flex:none}.ui-modelswitch__list{list-style:none;margin:0;padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);max-height:320px;overflow:auto}.ui-modelswitch__opt{display:flex;align-items:center;gap:var(--space-8);min-height:var(--control-h);padding:0 var(--space-8);border-radius:var(--radius-sm);cursor:pointer;font-size:13px}.ui-modelswitch__opt[data-active=true]{background:var(--surface-hover)}.ui-modelswitch__opt[aria-selected=true]{font-weight:500}.ui-modelswitch__opt[aria-selected=true] .via-icon{color:var(--accent)}.ui-modelswitch__opt-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-modelswitch__opt--all{margin-top:var(--space-4);border-top:1px solid var(--line);border-radius:0 0 var(--radius-sm) var(--radius-sm);color:var(--ink-muted)}.ui-modelswitch__opt--all .via-icon{flex:none}.ui-modelswitch__note{margin:0;padding:var(--space-4) var(--space-12) var(--space-12);color:var(--ink-muted);font-size:12px}
