/* QA1125 General Repairs phone layout repair.
   The five-step proposal workflow stays directly navigable without crowded
   labels, and the duplicate Current Item rail summary remains removed. */

.premium-app .hgc-root .hgc-price-center.hgc-gr-summary > .hgc-shared-current-item{
  display:none!important;
}

@media (max-width:700px){
  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) > main > .topbar.handyman-topbar{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:76px!important;
    padding:10px 14px!important;
    overflow:visible!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar > .menu-toggle{
    display:grid!important;
    grid-column:1!important;
    place-items:center!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar > .topbar-page-title{
    display:none!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar > .topbar-actions{
    display:grid!important;
    grid-column:2!important;
    grid-template-columns:minmax(0,1fr) 48px!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-switcher,
  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-current{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-current{
    min-height:52px!important;
    padding:7px 10px!important;
    grid-template-columns:minmax(0,1fr) 20px!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-current span{
    font-size:9px!important;
    line-height:1.15!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-current strong{
    overflow:visible!important;
    font-size:13px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
    text-overflow:clip!important;
    white-space:normal!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .workspace-current svg{
    width:18px!important;
    height:18px!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .topbar-actions > .signout{
    display:grid!important;
    place-items:center!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .topbar-actions > .signout > span{
    display:none!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]{
    display:flex!important;
    align-items:stretch!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:10px 0 14px!important;
    padding:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain!important;
    scroll-padding-inline:6px!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]::-webkit-scrollbar{
    display:none!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button{
    position:relative!important;
    flex:0 0 38px!important;
    gap:0!important;
    width:38px!important;
    min-width:38px!important;
    min-height:56px!important;
    padding:6px 4px!important;
    overflow:hidden!important;
    scroll-snap-align:center!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button.active{
    flex:1 0 136px!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:auto!important;
    min-width:136px!important;
    padding:7px 10px!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button > svg,
  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button > i{
    display:none!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button > b{
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    margin:0!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button:not(.active) > span{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button.active > span{
    position:static!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    margin:0!important;
    overflow:visible!important;
    clip:auto!important;
    clip-path:none!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1.15!important;
    text-align:left!important;
    white-space:normal!important;
  }
}

@media (max-width:360px){
  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) > main > .topbar.handyman-topbar{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:8px!important;
    padding-inline:10px!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar > .menu-toggle,
  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar .topbar-actions > .signout{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
  }

  .premium-app:has(nav.hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"]) .handyman-topbar > .topbar-actions{
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:8px!important;
  }

  .hgc-root .hgc-flow-nav.hgc-home-repair-five-step[aria-label="Home Repair & Maintenance estimate steps"] > button.active{
    flex-basis:124px!important;
    min-width:124px!important;
  }
}

/* QA1125 General Repairs canonical workspace.
   One source owns Guided, Saved, and Custom repair entry. On wide screens the
   repair list and selected editor form a master/detail workspace beside the
   existing shared proposal rail. Narrow screens keep the same DOM and reveal
   the list/editor through semantic disclosure controls supplied by the runtime. */
.premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace,
.premium-app .hgc-root .hgc-gr-page #hgc-gr-list-content,
.premium-app .hgc-root .hgc-gr-page #hgc-gr-editor-content,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-editor{
  min-width:0;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:12px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-editor,
.premium-app .hgc-root .hgc-gr-page #hgc-gr-editor-content{
  display:grid;
  align-content:start;
  gap:12px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-disclosure{
  display:none;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  padding:6px;
  border:1px solid #2d4354;
  border-radius:8px;
  background:#07131e;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:6px;
  background:transparent;
  color:#b9c6cf;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button > span{
  display:grid;
  gap:2px;
  min-width:0;
  text-align:left;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button > span strong{
  color:inherit;
  font-size:13px;
  line-height:1.2;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button > span small{
  overflow:hidden;
  color:#91a4b1;
  font-size:11px!important;
  font-weight:600;
  line-height:1.25!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button:hover,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button.active,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button[aria-pressed="true"]{
  border-color:#ff7a18;
  background:#21160d;
  color:#fff;
}

.premium-app .hgc-root .hgc-gr-page :is(.hgc-gr-entry-modes button,.hgc-gr-disclosure,.hgc-gr-saved-card,.hgc-gr-item-actions button,[data-hgc-gr-action="promote"]):focus-visible{
  outline:2px solid #ff9a42!important;
  outline-offset:2px!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list{
  width:100%;
  min-width:0;
  padding:0 0 10px;
  overflow:visible;
  border-color:#2d4354;
  background:#07131e;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > h4{
  padding:15px 14px 13px;
  border-bottom:1px solid #2d4354;
  color:#f5f8fa;
  font-size:18px!important;
  line-height:1.2!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > header{
  display:none!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto auto!important;
  align-items:center!important;
  gap:3px 10px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:13px 12px 10px 15px!important;
  border:0!important;
  border-bottom:1px solid #2a3f50!important;
  border-radius:0!important;
  background:transparent!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:transparent;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article.active,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article[aria-current="true"]{
  background:#0b1c28!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article.active::before,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article[aria-current="true"]::before{
  background:#ff7a18;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article > strong{
  grid-column:1;
  grid-row:1;
  min-width:0;
  overflow:hidden;
  color:#f4f7f9;
  font-size:14px!important;
  line-height:1.3!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article > span{
  grid-column:1;
  grid-row:2;
  min-width:0;
  overflow:hidden;
  color:#9fb0bc;
  font-size:12px!important;
  line-height:1.3!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article > span small{
  display:block;
  overflow:hidden;
  color:#ff9a42;
  font-size:10px!important;
  font-weight:800;
  line-height:1.3!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article > b{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
  color:#f7fafc;
  font-size:14px!important;
  line-height:1.2!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list .hgc-gr-item-mode{
  grid-column:1;
  grid-row:3;
  color:#ff9a42;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list .hgc-gr-item-actions{
  grid-column:2;
  grid-row:3;
  display:flex;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list .hgc-gr-item-actions button{
  display:grid;
  place-items:center;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:1px solid #3a5264!important;
  border-radius:6px!important;
  background:#081722!important;
  color:#d8e2e9!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list .hgc-gr-item-actions button.danger{
  border-color:#8e3e48!important;
  color:#ff8b95!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > button[data-hgc-gr-action="another"]{
  width:calc(100% - 24px)!important;
  min-height:44px!important;
  margin:10px 12px 0!important;
  border:1px dashed #5a7183!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#ff9137!important;
  font-size:14px!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-browser,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor{
  display:grid;
  gap:14px;
  padding:18px;
  border:1px solid #2d4354;
  border-radius:8px;
  background:#071522;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-browser > header,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor > header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding-bottom:12px;
  border-bottom:1px solid #2d4354;
}

.premium-app .hgc-root .hgc-gr-page :is(.hgc-gr-saved-browser,.hgc-gr-custom-editor) :is(h4,p){
  margin:0;
}

.premium-app .hgc-root .hgc-gr-page :is(.hgc-gr-saved-browser,.hgc-gr-custom-editor) h4{
  color:#f5f8fa;
  font-size:20px!important;
}

.premium-app .hgc-root .hgc-gr-page :is(.hgc-gr-saved-browser,.hgc-gr-custom-editor) header p{
  margin-top:4px;
  color:#aebdc7;
  font-size:13px!important;
  line-height:1.4!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-browser > div[role="list"]{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:4px 12px;
  min-height:72px;
  padding:12px 14px;
  border:1px solid #344c5e;
  border-radius:7px;
  background:#081722;
  color:#eef3f6;
  text-align:left;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card > span{
  grid-column:1;
  grid-row:1 / span 2;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #ff7a18;
  border-radius:50%;
  color:#ff8b29;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card > strong,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card > small{
  grid-column:2;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card:hover{
  border-color:#ff7a18;
  background:#21160d;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card strong,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card small{
  color:#9fb0bc;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card b{
  grid-column:3;
  grid-row:1 / span 2;
  color:#ff9a42;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-empty-saved,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-empty-list{
  min-height:120px;
  padding:24px;
  border:1px dashed #40596b;
  border-radius:7px;
  color:#aebdc7;
  text-align:center;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor label{
  display:grid;
  align-content:start;
  gap:6px;
  min-width:0;
  color:#b9c6cf;
  font-size:13px!important;
  font-weight:750;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor label:has([data-hgc-gr-custom-field="name"]),
.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor label:has([data-hgc-gr-custom-field="repair"]),
.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor label.scope,
.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor label:has([data-hgc-gr-custom-field="customerScope"]){
  grid-column:1 / -1;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor :is(input,select,textarea){
  width:100%;
  min-width:0;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #3a5264;
  border-radius:6px;
  background:#081722;
  color:#f5f8fa;
  font:inherit;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor textarea{
  min-height:128px;
  resize:vertical;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor :is(input,select,textarea):focus-visible{
  border-color:#ff7a18;
  outline:2px solid rgba(255,122,24,.35);
  outline-offset:1px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown{
  display:grid;
  gap:12px;
  min-width:0;
  margin:0;
  padding:16px 0 0;
  border:0;
  border-top:1px solid #2d4354;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown legend{
  padding:0 8px 0 0;
  color:#f4f7f9;
  font-size:15px;
  font-weight:850;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown > p{
  color:#9fb0bc;
  font-size:12px!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown > div{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown output{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px 14px;
  padding:14px;
  border:1px solid #304a5d;
  border-radius:7px;
  background:#061722;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown output span{
  color:#9fb0bc;
  font-size:12px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown output strong{
  grid-row:2;
  color:#7ee642;
  font-size:22px;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-editor-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  padding:12px 14px;
  border:1px solid #2d4354;
  border-radius:8px;
  background:#07131e;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-editor-actions small{
  color:#91a4b1;
  font-size:14px!important;
  line-height:1.35!important;
}

.premium-app .hgc-root .hgc-gr-page [data-hgc-gr-action="promote"]{
  min-height:44px;
  border:1px solid #40576a;
  border-radius:6px;
  background:#081722;
  color:#eef3f6;
  font-size:13px;
  font-weight:800;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(180px,auto);
  align-items:center;
  gap:16px;
  width:100%;
  min-width:0;
  padding:14px 16px;
  border:1px solid #2d4354;
  border-radius:8px;
  background:#071522;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update p{
  display:grid;
  gap:3px;
  min-width:0;
  margin:0;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update small{
  color:#9fb0bc;
  font-size:12px!important;
  line-height:1.35!important;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update button{
  min-width:180px;
  min-height:44px;
  border:1px solid #ff7a18;
  border-radius:6px;
  background:#ff6a0a;
  color:#111;
  font-size:14px;
  font-weight:900;
}

.premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update button:disabled{
  cursor:not-allowed;
  opacity:.5;
}

@media (min-width:981px){
  .premium-app .hgc-root .hgc-gr-page :is(#hgc-gr-list-content,#hgc-gr-editor-content)[hidden]{
    display:block!important;
  }
}

@media (min-width:1220px){
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace{
    grid-template-columns:clamp(248px,22vw,320px) minmax(0,1fr);
    gap:0;
    overflow:clip;
    border:1px solid #2d4354;
    border-radius:8px;
    background:#06121c;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-disclosure{
    display:none!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace > .hgc-gr-list{
    grid-column:1;
    grid-row:1;
    align-self:stretch;
    min-height:100%;
    border-right:1px solid #2d4354;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace > .hgc-gr-editor{
    grid-column:2;
    grid-row:1;
    padding:12px;
  }

  .premium-app .hgc-root .hgc-gr-page #hgc-gr-list-content > .hgc-gr-list,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-list{
    min-height:100%;
    border:0;
    border-radius:0;
  }
}

@media (max-width:1219px){
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace{
    grid-template-columns:minmax(0,1fr);
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace > .hgc-gr-list,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace > .hgc-gr-editor{
    grid-column:1;
  }
}

@media (max-width:980px){
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-disclosure{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
    min-height:48px;
    padding:10px 14px;
    border:1px solid #344c5e;
    border-radius:7px;
    background:#071522;
    color:#f5f8fa;
    font-size:15px;
    font-weight:850;
    text-align:left;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-disclosure svg{
    flex:0 0 auto;
    width:19px;
    height:19px;
    color:#ff8b29;
    transition:transform .16s ease;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-disclosure[aria-expanded="true"] svg{
    transform:rotate(180deg);
  }

  .premium-app .hgc-root .hgc-gr-page :is(#hgc-gr-list-content,#hgc-gr-editor-content)[hidden]{
    display:none!important;
  }

  .premium-app .hgc-root .hgc-gr-page :is(#hgc-gr-list-content,#hgc-gr-editor-content){
    width:100%;
    min-width:0;
  }
}

@media (max-width:700px){
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-workspace{
    gap:10px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes{
    grid-template-columns:minmax(0,1fr);
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-card,
  .premium-app .hgc-root .hgc-gr-page [data-hgc-gr-action="promote"]{
    min-height:48px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-list{
    min-width:0!important;
    overflow:visible!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-list #hgc-gr-list-content > div[role="list"] > article{
    min-width:0!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-list .hgc-gr-item-actions{
    grid-column:1 / -1;
    justify-content:flex-start;
    padding-top:5px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-browser,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-editor{
    padding:14px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-saved-browser > div[role="list"],
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-fields,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown > div,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-details .fields,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks{
    grid-template-columns:minmax(0,1fr)!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-details footer{
    grid-template-columns:minmax(0,1fr)!important;
  }

  .premium-app .hgc-root .hgc-gr-page :is(button,input,select,textarea){
    min-height:44px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update{
    grid-template-columns:minmax(0,1fr);
    padding:14px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-save-update button{
    width:100%;
    min-width:0;
    min-height:48px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown output{
    grid-template-columns:minmax(0,1fr);
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown output strong{
    grid-row:auto;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-editor-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-editor-actions [data-hgc-gr-action="promote"]{
    width:100%;
  }

  .premium-app .hgc-root .hgc-gr-page{
    padding-bottom:calc(112px + env(safe-area-inset-bottom));
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-work > header{
    min-height:52px;
    padding:0 14px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-work > header h4{
    padding:12px 0;
    font-size:18px;
    line-height:1.25;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-count{
    margin:0;
    padding:5px 9px;
    font-size:14px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-disclosure > summary{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto 20px;
    align-items:center;
    gap:8px;
    min-height:46px;
    margin:0 14px 8px;
    padding:9px 11px;
    border:1px solid #31495b;
    border-radius:7px;
    background:#071522;
    color:#f2f6f8;
    cursor:pointer;
    font-size:15px;
    font-weight:850;
    list-style:none;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-disclosure > summary::-webkit-details-marker{
    display:none;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-disclosure > summary small{
    color:#9eb0bd;
    font-size:14px;
    font-weight:750;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-disclosure > summary svg{
    width:19px;
    height:19px;
    color:#ff8b29;
    transition:transform .16s ease;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-disclosure[open] > summary svg{
    transform:rotate(180deg);
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks{
    gap:10px!important;
    padding:2px 14px 12px!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-group{
    gap:2px;
    padding:8px;
    border:1px solid #2e4354;
    border-radius:7px;
    background:#081723;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly-group legend{
    width:auto;
    margin-left:2px;
    padding:0 6px;
    color:#ff9a42;
    font-size:14px;
    letter-spacing:.02em;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks button{
    min-height:44px!important;
    padding:8px 9px!important;
    border:0!important;
    border-left:3px solid transparent!important;
    border-radius:5px;
    background:transparent!important;
    color:#dfe7ec;
    font-size:15px!important;
    line-height:1.3!important;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks button.active{
    border-left-color:#ff7a00!important;
    background:rgba(255,122,0,.09)!important;
    color:#fff;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks button:not(.active){
    color:#9aabb6;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly .checks button svg{
    width:21px;
    height:21px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly > dl{
    margin:0 14px 12px;
  }

  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly > dl div,
  .premium-app .hgc-root .hgc-gr-page .hgc-gr-assembly > dl p{
    min-height:44px;
    padding:9px 11px;
  }
}
