/* Shared Customer + Lead list system. Keeps both CRM directories visually and functionally aligned. */
.crm-shared-filterbar,
.crm-shared-list{
  --crm-list-bg:#030b14;
  --crm-list-surface:#061522;
  --crm-list-surface-2:#091b2a;
  --crm-list-line:#24384b;
  --crm-list-text:#f5f7fb;
  --crm-list-muted:#aab8c8;
  --crm-list-orange:#ff7a00;
  --crm-list-cyan:#19bfff;
  --crm-list-green:#70d823;
  --crm-list-purple:#c56fff;
  --crm-list-pink:#f044a7;
  color:var(--crm-list-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-synthesis:none;
  text-shadow:none;
}
.crm-shared-list{
  font-family:"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:optimizeLegibility;
}

.customer-full-list-screen-v9{
  grid-template-rows:auto auto auto minmax(0,1fr);
  background:radial-gradient(circle at 70% 0,rgba(11,94,151,.11),transparent 36%),#030b14;
}
.customer-list-titlebar-v9{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:66px;
  padding:12px 18px;
  border-bottom:1px solid var(--c8-line);
  background:#030b14;
}
.customer-list-title-v9,
.customer-list-title-actions-v9{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.customer-list-title-v9>div:first-child{
  display:flex;
  align-items:baseline;
  gap:16px;
}
.customer-list-title-v9 h1{
  margin:0;
  color:#fff;
  font-size:25px;
  line-height:1;
  letter-spacing:-.02em;
}
.customer-list-title-v9 span{
  color:#d7e1ec;
  font-size:13px;
  font-weight:700;
}
.customer-list-title-actions-v9 .btn,
.customer-list-title-actions-v9 .primary{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid #30455b;
  border-radius:7px;
  background:#091725;
  color:#eef4fb;
  font-weight:800;
  white-space:nowrap;
}
.customer-list-title-actions-v9 .primary{
  border-color:#ff7a00;
  background:#ff7a00;
  color:#080b0f;
}
.customer-list-title-actions-v9 svg{width:17px;height:17px}

.premium-app .lead-filter-bar.crm-shared-filterbar,
.customer-list-filterbar-v9{
  display:grid!important;
  grid-template-columns:minmax(260px,1.35fr) repeat(3,minmax(150px,.72fr)) auto!important;
  align-items:end!important;
  gap:10px!important;
  margin:0!important;
  padding:11px 18px!important;
  border:0!important;
  border-bottom:1px solid #24384b!important;
  border-radius:0!important;
  background:#030b14!important;
  box-shadow:none!important;
}
.premium-app .lead-filter-bar.crm-shared-filterbar{
  grid-template-columns:auto minmax(250px,1.2fr) repeat(3,minmax(130px,.68fr)) auto!important;
}
.crm-shared-filterbar label{
  position:relative;
  display:grid!important;
  gap:5px!important;
  min-width:0;
  color:#b8c6d6!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
}
.crm-shared-filterbar input,
.crm-shared-filterbar select{
  width:100%!important;
  height:42px!important;
  padding:0 12px!important;
  border:1px solid #30455b!important;
  border-radius:7px!important;
  outline:0!important;
  background:#071421!important;
  color:#f5f7fb!important;
  font:700 13px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;
  box-shadow:none!important;
}
.crm-shared-filterbar input::placeholder{color:#8192a7}
.crm-shared-filterbar :is(input,select):hover{border-color:#697e94!important}
.crm-shared-filterbar :is(input,select):focus,
.crm-shared-filterbar :is(input,select):focus-visible{
  border-color:#ff7a00!important;
  outline:1px solid #ff7a00!important;
  outline-offset:1px!important;
  box-shadow:none!important;
}
.crm-filter-search{align-self:end}
.crm-filter-search>svg{
  position:absolute;
  z-index:1;
  left:13px;
  top:50%;
  width:18px;
  height:18px;
  translate:0 -50%;
  color:#9eb0c2;
  pointer-events:none;
}
.crm-filter-search input{padding-left:42px!important}
.crm-shared-filterbar .crm-clear-filters{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 15px;
  border:1px solid #30455b!important;
  border-radius:7px!important;
  background:#091725!important;
  color:#f2f6fa!important;
  font-weight:800!important;
  white-space:nowrap;
}
.crm-shared-filterbar .crm-clear-filters:hover{
  border-color:#ff7a00!important;
  color:#ff9b42!important;
}
.crm-shared-filterbar .crm-clear-filters svg{width:17px;height:17px}

.premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle{
  display:grid;
  grid-template-columns:repeat(3,minmax(98px,1fr));
  align-self:end;
  min-height:42px;
  padding:3px;
  border:1px solid #30455b;
  border-radius:8px;
  background:#071421;
}
.premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle button{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 13px;
  border:1px solid transparent!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#d4deea!important;
  font-size:13px!important;
  font-weight:800!important;
}
.premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle button.active{
  border-color:#ff7a00!important;
  background:#ff7a00!important;
  color:#090b0e!important;
  box-shadow:none!important;
}
.premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle svg{width:17px;height:17px}

.customer-list-tabs-v9{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  min-height:52px;
  border-bottom:1px solid #24384b;
  background:#04111d;
}
.customer-list-tabs-v9 button{
  position:relative;
  border:0;
  background:transparent;
  color:#d4deea;
  font-weight:700;
}
.customer-list-tabs-v9 button b{margin-left:5px;color:inherit}
.customer-list-tabs-v9 button:hover{color:#fff;background:#071a2a}
.customer-list-tabs-v9 button.active{color:#ff8a1c}
.customer-list-tabs-v9 button.active::after{
  content:"";
  position:absolute;
  right:14px;
  bottom:0;
  left:14px;
  height:3px;
  background:#ff7a00;
}

.lead-shared-list-shell{
  overflow:hidden;
  border:1px solid #24384b;
  border-radius:9px;
  background:#030b14;
}
.lead-shared-list-shell>.lead-list-head{
  min-height:54px;
  padding:0 18px;
  background:#061522;
  border-bottom:1px solid #24384b;
}
.lead-shared-list-shell>.lead-list-head strong{font-size:18px}
.lead-shared-list-shell>.lead-list-head span{color:#aab8c8}

.crm-shared-list{
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  overflow:hidden;
  background:#030b14;
}
.crm-shared-table{
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
}
.crm-shared-header,
.crm-shared-row{
  display:grid;
  align-items:center;
  gap:12px;
}
.crm-shared-list-customer :is(.crm-shared-header,.crm-shared-customer-row){
  grid-template-columns:minmax(220px,1.25fr) minmax(115px,.72fr) minmax(165px,1fr) minmax(125px,.72fr) minmax(145px,.82fr) 248px;
}
.crm-shared-list-lead :is(.crm-shared-header,.crm-shared-lead-row){
  grid-template-columns:minmax(210px,1.2fr) minmax(110px,.66fr) minmax(155px,.9fr) minmax(125px,.7fr) minmax(140px,.76fr) minmax(92px,.52fr) 248px;
}
.crm-shared-header{
  min-height:40px;
  padding:0 18px;
  border-bottom:1px solid #24384b;
  background:#071827;
  color:#aebed0;
}
.crm-shared-header span{
  font-size:11px;
  font-weight:700;
  line-height:16px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.crm-shared-body{
  min-height:0;
  overflow:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior:contain;
}
.crm-shared-body::-webkit-scrollbar{display:none}
.crm-shared-row{
  position:relative;
  min-height:68px;
  padding:8px 18px;
  border-bottom:1px solid #203447;
  background:#041321;
  color:#edf3fa;
  cursor:pointer;
  transition:background-color .14s ease,box-shadow .14s ease;
}
.crm-shared-row:nth-child(even){background:#03111e}
.crm-shared-row:hover{
  background:#092137;
  box-shadow:inset 3px 0 #ff7a00;
}
.crm-shared-row.is-selected{
  background:#0b263e;
  box-shadow:inset 4px 0 #ff7a00;
}
.crm-shared-row:focus-visible{
  outline:2px solid #ff7a00;
  outline-offset:-3px;
}
.crm-shared-cell{
  min-width:0;
  overflow:hidden;
  color:#e4ebf3;
  font-size:14px;
  font-weight:600;
  line-height:20px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.crm-name-cell{
  display:flex;
  align-items:center;
  gap:14px;
}
.crm-name-cell strong{
  overflow:hidden;
  color:#fff;
  font-size:15px;
  font-weight:700;
  line-height:20px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.crm-shared-initials{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border:1.5px solid currentColor;
  border-radius:50%;
  background:transparent!important;
  color:#19bfff;
  font-size:14px;
  font-weight:700;
  line-height:14px;
  letter-spacing:.02em;
  box-shadow:none!important;
}
.crm-shared-initials.tone-cyan{color:#18c7ff}
.crm-shared-initials.tone-purple{color:#be6cff}
.crm-shared-initials.tone-orange{color:#ff7a00}
.crm-shared-initials.tone-blue{color:#4aa4ff}
.crm-shared-initials.tone-pink{color:#f044a7}
.crm-stage-text{
  font-weight:700;
  background:none!important;
  border:0!important;
  border-radius:0!important;
}
.crm-stage-text.tone-orange{color:#ff7a00}
.crm-stage-text.tone-cyan{color:#1fc7ff}
.crm-stage-text.tone-blue{color:#4a9dff}
.crm-stage-text.tone-green{color:#75dc25}
.crm-stage-text.tone-red{color:#ff5c55}
.crm-stage-text.tone-muted{color:#c1ccda}
.crm-days-open{font-weight:700}
.crm-days-open.green{color:#70dc7c}
.crm-days-open.yellow{color:#f2d03b}
.crm-days-open.orange{color:#ff8a1c}
.crm-days-open.red{color:#ff5a3d}
.crm-actions-cell{overflow:visible}
.crm-shared-actions{
  display:grid;
  grid-template-columns:repeat(5,36px);
  justify-content:end;
  gap:8px;
}
.crm-shared-action{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid currentColor;
  border-radius:50%;
  background:#07131f;
  color:#ff7a00;
  text-decoration:none;
  box-shadow:none!important;
  filter:none!important;
  cursor:pointer;
}
.crm-shared-action svg{
  width:17px;
  height:17px;
  stroke:currentColor;
  filter:none!important;
}
.crm-shared-action>span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.crm-shared-action.tone-open{color:#ff7a00}
.crm-shared-action.tone-call{color:#70d823}
.crm-shared-action.tone-email{color:#f044a7}
.crm-shared-action.tone-map{color:#19bfff}
.crm-shared-action.tone-schedule{color:#c56fff}
.crm-shared-action:hover{
  outline:2px solid #ff7a00;
  outline-offset:1px;
  background:#0d2235;
}
.crm-shared-action:focus-visible{
  outline:2px solid #ff7a00!important;
  outline-offset:2px!important;
}
.crm-shared-action.is-disabled,
.crm-shared-action:disabled{
  opacity:.35;
  cursor:not-allowed;
}
.crm-shared-empty{
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:24px;
  color:#9eafc2;
  text-align:center;
}
.crm-shared-empty svg{width:28px;height:28px;color:#19bfff}
.crm-shared-empty strong{color:#f4f7fb;font-size:16px}
.crm-shared-empty span{font-size:13px}

.crm-shared-pagination{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:7px 18px;
  border-top:1px solid #24384b;
  background:#04111d;
  color:#bdc9d7;
  font-size:12px;
}
.crm-shared-pagination>div{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.crm-shared-pagination button,
.crm-shared-pagination b,
.crm-shared-pagination select{
  min-width:44px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0 12px;
  border:1px solid #24384b;
  border-radius:6px;
  background:#071522;
  color:#dce5ee;
  font:800 12px/1 Inter,ui-sans-serif,system-ui,sans-serif;
}
.crm-shared-pagination b{
  border-color:#ff7a00;
  color:#fff;
}
.crm-shared-pagination button:disabled{opacity:.35}
.crm-shared-pagination button:not(:disabled):hover,
.crm-shared-pagination select:hover{border-color:#ff7a00}
.crm-shared-pagination select:focus{
  border-color:#ff7a00!important;
  outline:1px solid #ff7a00!important;
  box-shadow:none!important;
}

@media(max-width:1280px){
  .customer-list-title-actions-v9 .btn span{display:none}
  .premium-app .lead-filter-bar.crm-shared-filterbar{
    grid-template-columns:1fr 1fr 1fr!important;
  }
  .premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle{grid-column:1/-1}
  .crm-shared-list-customer :is(.crm-shared-header,.crm-shared-customer-row){
    grid-template-columns:minmax(190px,1.15fr) minmax(100px,.64fr) minmax(145px,.86fr) minmax(115px,.68fr) minmax(130px,.72fr) 226px;
  }
  .crm-shared-list-lead :is(.crm-shared-header,.crm-shared-lead-row){
    grid-template-columns:minmax(185px,1.05fr) minmax(96px,.58fr) minmax(135px,.76fr) minmax(112px,.64fr) minmax(125px,.68fr) 88px 226px;
  }
  .crm-shared-actions{grid-template-columns:repeat(5,34px);gap:7px}
  .crm-shared-action{width:34px;height:34px}
  .crm-shared-action svg{width:16px;height:16px}
}

@media(max-width:900px){
  .customer-full-list-screen-v9{
    height:auto;
    min-height:100dvh;
    grid-template-rows:auto auto auto auto;
    overflow:visible;
  }
  .customer-list-titlebar-v9{align-items:flex-start;flex-direction:column}
  .customer-list-title-actions-v9{width:100%;flex-wrap:wrap}
  .customer-list-title-actions-v9 .btn span{display:inline}
  .customer-list-title-actions-v9 .primary{margin-left:auto}
  .customer-list-filterbar-v9,
  .premium-app .lead-filter-bar.crm-shared-filterbar{
    grid-template-columns:1fr 1fr!important;
  }
  .crm-shared-filterbar .crm-clear-filters{width:100%}
  .customer-list-tabs-v9{overflow-x:auto;grid-template-columns:repeat(4,minmax(135px,1fr));scrollbar-width:none}
  .crm-shared-list{overflow:visible}
  .crm-shared-table{display:block;overflow:visible}
  .crm-shared-header{display:none}
  .crm-shared-body{display:grid;gap:10px;padding:12px;overflow:visible}
  .crm-shared-list :is(.crm-shared-row,.crm-shared-customer-row,.crm-shared-lead-row){
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 18px;
    min-height:0;
    padding:14px;
    border:1px solid #24384b;
    border-radius:8px;
  }
  .crm-name-cell,
  .crm-actions-cell{grid-column:1/-1}
  .crm-shared-cell:not(.crm-name-cell):not(.crm-actions-cell){
    display:grid;
    gap:4px;
    white-space:normal;
  }
  .crm-shared-cell:not(.crm-name-cell):not(.crm-actions-cell)::before{
    content:attr(data-label);
    color:#8397ac;
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .crm-shared-actions{grid-template-columns:repeat(5,40px);justify-content:start}
  .crm-shared-action{width:40px;height:40px}
  .crm-shared-action svg{width:18px;height:18px}
}

@media(max-width:600px){
  .customer-list-title-v9{width:100%;justify-content:space-between}
  .customer-list-title-v9>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}
  .customer-list-title-actions-v9{display:grid;grid-template-columns:repeat(3,1fr)}
  .customer-list-title-actions-v9 .primary{grid-column:1/-1;grid-row:1;width:100%;margin:0}
  .customer-list-title-actions-v9 .btn span{display:inline}
  .customer-list-filterbar-v9,
  .premium-app .lead-filter-bar.crm-shared-filterbar{grid-template-columns:1fr!important}
  .premium-app .lead-filter-bar.crm-shared-filterbar .lead-view-toggle{grid-column:auto}
  .crm-shared-list :is(.crm-shared-row,.crm-shared-customer-row,.crm-shared-lead-row){grid-template-columns:1fr}
  .crm-name-cell,.crm-actions-cell{grid-column:auto}
  .crm-shared-actions{
    width:100%;
    grid-template-columns:repeat(5,40px);
    justify-content:space-between;
    gap:8px;
  }
  .crm-shared-action{width:40px;height:40px}
  .crm-shared-pagination{align-items:flex-start;flex-direction:column}
  .crm-shared-pagination>div{width:100%;justify-content:space-between;flex-wrap:wrap}
  .crm-shared-pagination select{flex:1}
}

/* Approved extra-dark Leads canvas: match Dashboard, Command Center, and Customers. */
.premium-app.lead-reference-shell,
.premium-app.lead-reference-shell>main{
  background:#030507!important;
}
.premium-app.lead-reference-shell>main>.content{
  background:linear-gradient(145deg,#05080c 0%,#020406 58%,#05080c 100%)!important;
}
.premium-app.lead-reference-shell .lead-page-header{
  background:linear-gradient(145deg,#080d12,#030609)!important;
  border-color:#303a45!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .lead-stat-card,
.premium-app.lead-reference-shell .lead-stat-card.green{
  background:#090f15!important;
  border-color:#29333e!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .lead-filter-bar.crm-shared-filterbar{
  background:#05090d!important;
  border-color:#29333e!important;
}
.premium-app.lead-reference-shell .lead-filter-bar.crm-shared-filterbar :is(input,select),
.premium-app.lead-reference-shell .lead-filter-bar.crm-shared-filterbar .lead-view-toggle{
  background:#070c11!important;
  border-color:#303a45!important;
}
.premium-app.lead-reference-shell .lead-shared-list-shell{
  background:#030507!important;
  border-color:#29333e!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .lead-shared-list-shell>.lead-list-head{
  background:#070c11!important;
  border-color:#29333e!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead,
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-body{
  background:#030507!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-header{
  background:#080d12!important;
  border-color:#29333e!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-row{
  background:#05090d!important;
  border-color:#29333e!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-row:nth-child(even){
  background:#070c11!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-row:hover{
  background:#0d141b!important;
}
.premium-app.lead-reference-shell .crm-shared-list-lead .crm-shared-pagination{
  background:#05090d!important;
  border-color:#29333e!important;
}
.premium-app.lead-reference-shell .lead-kanban-wrap{
  background:#010203!important;
  border-color:#232d36!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .lead-kanban{
  background:#010203!important;
}
.premium-app.lead-reference-shell .lead-column{
  background:#030609!important;
  border-color:#232d36!important;
}
.premium-app.lead-reference-shell .lead-column-head{
  background:#030609!important;
  background-image:none!important;
}
.premium-app.lead-reference-shell .lead-column-body{
  background:transparent!important;
}
.premium-app.lead-reference-shell .lead-kanban .lead-ticket{
  background:#070c11!important;
  background-image:none!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .estimate-requests-board,
.premium-app.lead-reference-shell .estimate-requests-layout,
.premium-app.lead-reference-shell .estimate-requests-layout>main{
  background:#010203!important;
}
.premium-app.lead-reference-shell .estimate-requests-summary{
  background:#030609!important;
  background-image:none!important;
  border-color:#232d36!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .request-source-counts div{
  background:#070c11!important;
  border-color:#232d36!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .estimate-requests-layout aside{
  background:#05090d!important;
  border-color:#232d36!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .estimate-request-card{
  background:#05090d!important;
  border-top-color:#232d36!important;
  border-right-color:#232d36!important;
  border-bottom-color:#232d36!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .lead-board-footer{
  background:#010203!important;
  border-color:#232d36!important;
}

/* Requests use the same compact record language as the approved Lead and Customer lists. */
.premium-app.lead-reference-shell .estimate-requests-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  background:#010203!important;
}
.premium-app.lead-reference-shell .estimate-requests-layout>main{
  width:100%;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
  padding:0!important;
  overflow:visible!important;
  container-name:request-list-pane;
  container-type:inline-size;
}
.premium-app.lead-reference-shell .crm-shared-list-request{
  min-height:0;
  overflow:hidden;
  border:1px solid #29333e;
  border-radius:9px;
  background:#030507!important;
}
.premium-app.lead-reference-shell .crm-shared-list-request :is(.crm-shared-header,.crm-shared-request-row){
  grid-template-columns:minmax(190px,1.1fr) minmax(105px,.62fr) minmax(150px,.86fr) minmax(118px,.66fr) minmax(132px,.72fr) minmax(88px,.48fr) 268px;
}
.premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-table{
  display:grid;
  grid-template-rows:auto auto;
  overflow:visible;
}
.premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-body{
  overflow:visible;
}
.premium-app.lead-reference-shell .crm-shared-request-row{
  min-height:88px;
  background:#05090d!important;
}
.premium-app.lead-reference-shell .crm-shared-request-row:nth-child(even){
  background:#070c11!important;
}
.premium-app.lead-reference-shell .crm-shared-request-row:hover{
  background:#0d141b!important;
}
.premium-app.lead-reference-shell .crm-shared-list-request .crm-actions-cell{
  display:grid;
  gap:7px;
}
.premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-actions{
  justify-content:start;
}
.premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 86px;
  gap:7px;
  margin:0;
}
.premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions .btn{
  width:100%;
  min-height:29px!important;
  padding:4px 8px!important;
  border:1px solid #344250!important;
  border-radius:6px!important;
  background:#0b131c!important;
  color:#e8eef5!important;
  font:700 10px/1.2 "Segoe UI",Arial,sans-serif!important;
  box-shadow:none!important;
}
.premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions .btn:hover,
.premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions .btn:focus-visible{
  border-color:#ff7a00!important;
  outline:1px solid #ff7a00!important;
  outline-offset:1px!important;
}
.premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions .request-dismiss-action{
  color:#ff726b!important;
}
.premium-app.lead-reference-shell .crm-request-list-footer{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:7px 18px;
  border-top:1px solid #29333e;
  background:#05090d!important;
  color:#bdc9d7;
  font:600 12px/18px "Segoe UI",Arial,sans-serif;
}
.premium-app.lead-reference-shell .estimate-requests-layout aside{
  position:static!important;
  top:auto!important;
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:170px minmax(0,1fr);
  align-items:center;
  gap:18px;
  padding:13px 18px!important;
  background:#05090d!important;
  border:1px solid #232d36!important;
  border-radius:9px!important;
}
.premium-app.lead-reference-shell .estimate-requests-layout aside h3{
  margin:0!important;
  color:#fff;
  font:800 15px/20px "Segoe UI",Arial,sans-serif;
}
.premium-app.lead-reference-shell .estimate-requests-layout aside ol{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px 22px;
  margin:0!important;
  padding-left:20px!important;
  color:#c8d3df;
}
.premium-app.lead-reference-shell .estimate-requests-layout aside li{
  padding-left:2px;
  font:600 11px/16px "Segoe UI",Arial,sans-serif;
}

@container request-list-pane (max-width:1120px){
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-header{display:none}
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-body{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:10px;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-request-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 18px;
    min-height:0;
    padding:14px;
    border:1px solid #29333e;
    border-radius:8px;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request :is(.crm-name-cell,.crm-actions-cell){
    grid-column:1/-1;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-cell:not(.crm-name-cell):not(.crm-actions-cell){
    display:grid;
    gap:3px;
    white-space:normal;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-cell:not(.crm-name-cell):not(.crm-actions-cell)::before{
    content:attr(data-label);
    color:#8397ac;
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-actions-cell{
    grid-template-columns:auto minmax(210px,1fr);
    align-items:center;
  }
  .premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions{
    justify-self:end;
    max-width:260px;
  }
}

@container request-list-pane (max-width:700px){
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-shared-body{grid-template-columns:1fr}
  .premium-app.lead-reference-shell .crm-shared-list-request .crm-actions-cell{grid-template-columns:1fr}
  .premium-app.lead-reference-shell .crm-shared-list-request .request-extra-actions{
    max-width:none;
    justify-self:stretch;
  }
}

@media(max-width:900px){
  .premium-app.lead-reference-shell .estimate-requests-layout aside{
    grid-template-columns:1fr!important;
  }
  .premium-app.lead-reference-shell .estimate-requests-layout aside ol{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .premium-app.lead-reference-shell .estimate-requests-layout aside ol{
    grid-template-columns:1fr;
  }
}
