/* Second update pass: AI Analysis confirm + thinking states, merged Profiles header, recent
   projects preview, Suggested Selling Price emphasis, printer profile picker, and assorted
   icon/label fixes. Loaded after updates-20260718.css. */

/* ---- Missing icon: Add Inventory Item dialog ---------------------------------------- */
.icon-inventory{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7.2 12 3l9 4.2v9.6L12 21l-9-4.2V7.2Zm2 1.4v7.2l7 3.2 7-3.2V8.6l-7-3.2-7 3.2ZM12 11.4l7-3.2V7.2L12 3 5 7.2v1l7 3.2Z'/%3E%3C/svg%3E")!important;}
.inventoryAddModalHeader h3.iconTitle{display:flex;align-items:center;gap:11px}
.inventoryAddModalHeader h3 .titleIcon{display:inline-grid!important;place-items:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;font-size:inherit!important;font-weight:inherit!important;letter-spacing:normal!important;text-transform:none!important;color:var(--accent2)!important}

/* ---- Pro Analytics: Go Back button --------------------------------------------------- */
/* The button is relocated into the analytics card heading, where it previously rendered as an
   unstyled empty box. */
.planBusinessDashboard .planReportHeading [data-dashboard-back],
.businessPageHeader [data-dashboard-back]{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:9px 16px!important;
  border:1px solid color-mix(in srgb,var(--accent) 62%,var(--line))!important;
  border-radius:999px!important;
  background:linear-gradient(145deg,var(--surface-raised,var(--panel)),color-mix(in srgb,var(--accent) 14%,var(--surface-raised,var(--panel))))!important;
  color:var(--text)!important;
  font-weight:700!important;
  font-size:.82rem!important;
  white-space:nowrap;
  visibility:visible!important;
  opacity:1!important;
  text-indent:0!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.planBusinessDashboard .planReportHeading [data-dashboard-back]:hover,
.businessPageHeader [data-dashboard-back]:hover{
  transform:translateY(-1px);
  border-color:var(--accent)!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 26%,transparent)!important;
}
.planBusinessDashboard .planReportHeading{align-items:center;gap:14px}
/* Relocated out of the hidden compact header by updates-b-20260718.js — force it visible and
   pin it to the top right of the analytics card. */
.planReportHeading.hasDashboardClose{position:relative;padding-right:172px}
.planReportHeading.hasDashboardClose>[data-dashboard-back]{
  position:absolute;
  top:0;
  right:0;
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}
@media(max-width:620px){
  .planReportHeading.hasDashboardClose{padding-right:0}
  .planReportHeading.hasDashboardClose>[data-dashboard-back]{position:static;margin-top:10px}
}

/* ---- Suggested Selling Price: larger themed tag + atmospheric motion ----------------- */
/* Circular disc; tag artwork and orbiting specks stay clipped inside the circle. */
.suggestedPriceTileIcon{
  position:relative;
  width:88px;
  height:88px;
  overflow:hidden;
  isolation:isolate;
  border-radius:50%;
  display:grid;
  place-items:center;
}
/* The artwork is kept intact so the $ stays legible; --tag-hue (published by
   updates-b-20260718.js from --accent) rotates it onto the active theme instead of
   masking it into a flat silhouette. */
.suggestedPriceTileIcon img{
  display:block;
  position:relative;
  z-index:3;
  width:92%;
  height:92%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  /* Optical center only — no large offline offset that pushed the tag outside the disc. */
  transform:translate(-1px,-1px);
  filter:
    grayscale(1)
    sepia(1)
    hue-rotate(calc(var(--tag-hue,38deg) - 48deg))
    saturate(2.6)
    brightness(1.06)
    drop-shadow(0 3px 10px color-mix(in srgb,var(--accent) 45%,transparent));
}

/* Layer 1 — slow counter-rotating swirl. Clipped to a circle at the disc's own bounds so the
   square edges of the gradient never show while it rotates. */
.suggestedPriceTileIcon::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  overflow:hidden;
  z-index:1;
  /* Kept deliberately faint: the swirl should read as atmosphere behind the tag, not a wash
     over it. */
  background:
    conic-gradient(from 0deg,
      transparent 0deg,
      color-mix(in srgb,var(--accent) 15%,transparent) 42deg,
      transparent 96deg,
      color-mix(in srgb,var(--accent2) 12%,transparent) 168deg,
      transparent 224deg,
      color-mix(in srgb,var(--accent) 10%,transparent) 300deg,
      transparent 360deg);
  opacity:.55;
  animation:tagSwirl 11s linear infinite;
  pointer-events:none;
}
/* Layer 2 — soft wind bands drifting across the face. */
.suggestedPriceTileIcon::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  z-index:2;
  background:
    radial-gradient(120% 60% at 15% 30%,color-mix(in srgb,var(--accent2) 11%,transparent),transparent 62%),
    radial-gradient(90% 50% at 85% 72%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 58%);
  opacity:.6;
  animation:tagWind 7.5s ease-in-out infinite alternate;
  pointer-events:none;
  mix-blend-mode:screen;
}
@keyframes tagSwirl{to{transform:rotate(360deg)}}
@keyframes tagWind{
  0%{transform:translate3d(-6%,3%,0) scale(1.04);opacity:.75}
  100%{transform:translate3d(7%,-4%,0) scale(1.12);opacity:1}
}

/* Layer 3 — floating specks orbiting the tag at staggered radii and speeds. */
/* Keep orbits inside the disc radius; size pulses while they travel so they stay visible. */
.suggestedPriceSpecks{
  position:absolute;
  inset:0;
  z-index:4;
  border-radius:50%;
  overflow:hidden;
  pointer-events:none;
}
.suggestedPriceSpecks i{
  position:absolute;
  top:50%;
  left:50%;
  width:var(--s,4px);
  height:var(--s,4px);
  margin:calc(var(--s,4px) / -2);
  border-radius:50%;
  background:color-mix(in srgb,var(--accent2) 88%,#fff);
  box-shadow:
    0 0 6px color-mix(in srgb,var(--accent) 75%,transparent),
    0 0 12px color-mix(in srgb,var(--accent2) 45%,transparent);
  transform-origin:0 0;
  animation:tagSpeck var(--dur,9s) linear infinite;
  animation-delay:var(--delay,0s);
  opacity:0;
}
@keyframes tagSpeck{
  0%{
    opacity:0;
    transform:rotate(var(--from,0deg)) translateX(var(--r,28px)) scale(.3);
  }
  10%{
    opacity:1;
    transform:rotate(calc(var(--from,0deg) + 36deg)) translateX(var(--r,28px)) scale(var(--peak,1.45));
  }
  35%{
    opacity:.9;
    transform:rotate(calc(var(--from,0deg) + 126deg)) translateX(var(--r,28px)) scale(.55);
  }
  55%{
    opacity:1;
    transform:rotate(calc(var(--from,0deg) + 198deg)) translateX(var(--r,28px)) scale(var(--peak,1.45));
  }
  80%{
    opacity:.85;
    transform:rotate(calc(var(--from,0deg) + 288deg)) translateX(var(--r,28px)) scale(.45);
  }
  100%{
    opacity:0;
    transform:rotate(calc(var(--from,0deg) + 360deg)) translateX(var(--r,28px)) scale(.3);
  }
}

/* Looping emphasis on the price itself: a gradient that travels through the digits, a soft
   breathing glow, and a light sweep. */
.priceEstimateTile.suggested>b{
  position:relative;
  background:linear-gradient(100deg,
    var(--accent2) 0%,
    color-mix(in srgb,var(--accent2) 40%,#fff) 18%,
    var(--accent) 38%,
    var(--accent2) 58%,
    color-mix(in srgb,var(--accent2) 40%,#fff) 78%,
    var(--accent2) 100%);
  background-size:280% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent!important;
  animation:suggestedPriceFlow 5.2s linear infinite,suggestedPriceBreathe 3.4s ease-in-out infinite;
  filter:drop-shadow(0 0 10px color-mix(in srgb,var(--accent) 34%,transparent));
}
@keyframes suggestedPriceFlow{
  0%{background-position:0% 50%}
  100%{background-position:280% 50%}
}
@keyframes suggestedPriceBreathe{
  0%,100%{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--accent) 26%,transparent))}
  50%{filter:drop-shadow(0 0 20px color-mix(in srgb,var(--accent) 52%,transparent))}
}
@media(prefers-reduced-motion:reduce){
  .suggestedPriceTileIcon::before,
  .suggestedPriceTileIcon::after,
  .suggestedPriceSpecks i,
  .priceEstimateTile.suggested>b{animation:none!important}
  .suggestedPriceSpecks i{opacity:.55;transform:rotate(var(--from,0deg)) translateX(var(--r,28px)) scale(1)}
  .priceEstimateTile.suggested>b{-webkit-text-fill-color:var(--accent2);color:var(--accent2)!important}
}
@media(max-width:640px){
  .suggestedPriceTileIcon{width:84px;height:84px}
  .suggestedPriceTileIcon img{width:90%;height:90%;transform:translate(-1px,-1px)}
}

/* ---- Floating dock: Complete Print matches the pair above --------------------------- */
/* --dock-width is published by updates-b-20260718.js from the measured dock. */
.completePrintDock{
  width:var(--dock-width,auto);
  justify-content:center;
}
.completePrintDock .completePrintAction{flex:1 1 auto;text-align:center}

/* ---- Profiles: merged sub-page header ------------------------------------------------ */
.profileMergedHeader{
  display:flex;
  align-items:stretch;
  gap:12px;
  margin:0 0 18px;
}
/* Filament section: saved profiles heading with its add action on the right. */
.filamentSavedHeadingRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.filamentSavedHeadingRow>h2,.filamentSavedHeadingRow>h3{margin:0!important}
.filamentAddProfileBtn{
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:.82rem!important;
  white-space:nowrap;
}
.filamentAddCollapsed{display:none!important}
/* Clear All Profiles moved out of the add form and into the library card, kept visually
   secondary so it does not compete with Show All Filament Profiles. */
.savedProfileClearAction{
  margin-top:10px;
  width:100%;
  border-color:color-mix(in srgb,var(--danger,#ff6677) 42%,var(--line))!important;
  color:var(--danger,#ff6677)!important;
}
.savedProfileClearAction:hover{
  border-color:var(--danger,#ff6677)!important;
  background:color-mix(in srgb,var(--danger,#ff6677) 10%,transparent)!important;
}
.filamentAddCloseBtn{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));
  border-radius:50%;
  background:color-mix(in srgb,var(--accent) 12%,var(--surface-raised,var(--panel)));
  color:var(--accent2);
  font-size:1.3rem;
  line-height:1;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.filamentAddCloseBtn:hover{
  transform:rotate(90deg);
  border-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 22%,transparent);
}

/* Project actions stay hidden until a saved project is chosen. */
.projectActionsHidden{display:none!important}

.profileMergedStrip{
  flex:1 1 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:stretch;
  border:1px solid color-mix(in srgb,var(--accent) 38%,var(--line));
  border-radius:20px;
  background:linear-gradient(150deg,color-mix(in srgb,var(--panel) 94%,var(--accent) 6%),var(--panel));
  box-shadow:0 12px 30px rgba(0,0,0,.16);
  overflow:hidden;
}
.profileMergedDivider{
  width:1px;
  margin:14px 0;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--accent) 46%,var(--line)),transparent);
}
.profileTypeCardMerged{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
  transition:background .2s ease;
}
.profileTypeCardMerged:hover{background:color-mix(in srgb,var(--accent) 8%,transparent)}
.profileTypeCardMerged .profileTypeCardBody{display:grid;gap:3px;min-width:0}
.profileTypeCardMerged .profileTypeCardBody b{font-size:.99rem;line-height:1.15}
.profileTypeCardMerged .profileTypeCardBody small{color:var(--accent2);font-size:.72rem;font-weight:800;letter-spacing:.04em}
.profileTypeCardMerged .profileTypeCardBody em{
  color:var(--muted);
  font-style:normal;
  font-size:.79rem;
  line-height:1.35;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.profileTypeCardMerged .profileTypeCardIcon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line));
  border-radius:14px;
  background:color-mix(in srgb,var(--accent) 10%,var(--surface-input,var(--panel2)));
  color:var(--accent2);
}
.profileTypeCardMerged .profileTypeCardIcon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}

/* Active / inactive states: the open page is highlighted, the other reads as the switch. */
.profileMergedState{display:grid;place-items:center;min-width:64px}
.profileTypeCardMerged:not(.active) .profileMergedState::after{
  content:"\2192";
  color:var(--muted);
  font-size:1.05rem;
}
.profileTypeCardMerged.active{
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 20%,transparent),color-mix(in srgb,var(--accent2) 10%,transparent));
}
.profileTypeCardMerged.active .profileMergedState::after{
  content:"ACTIVE";
  padding:4px 9px;
  border:1px solid color-mix(in srgb,var(--accent) 60%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--accent) 18%,transparent);
  color:var(--accent2);
  font-size:.6rem;
  font-weight:900;
  letter-spacing:.1em;
}
.profileTypeCardMerged.active .profileTypeCardIcon{
  border-color:var(--accent);
  background:color-mix(in srgb,var(--accent) 20%,var(--surface-input,var(--panel2)));
}
@media(max-width:720px){
  .profileMergedStrip{grid-template-columns:minmax(0,1fr);}
  .profileMergedDivider{width:auto;height:1px;margin:0 16px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--accent) 46%,var(--line)),transparent)}
  .profileTypeCardMerged{padding:13px 15px;gap:11px}
  .profileTypeCardMerged .profileTypeCardBody em{display:none}
  .profileMergedState{min-width:0}
}

/* ---- Printer Profiles toolbar: action up top, count beside it ----------------------- */
.printerProfilesToolbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  grid-template-areas:"search add viewall count" "sort sort sort sort";
  align-items:center;
  gap:10px;
}
.printerProfilesToolbar input[type="search"]{grid-area:search;width:100%}
.printerProfilesToolbar select{grid-area:sort;width:100%}
.printerProfilesToolbar #printerAddBtn{
  grid-area:add;
  margin-left:0!important;
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:.82rem!important;
  white-space:nowrap;
}
.printerProfilesToolbar .catalogResultCount{grid-area:count;justify-self:start}
@media(max-width:720px){
  .printerProfilesToolbar{
    grid-template-columns:auto auto minmax(0,1fr);
    grid-template-areas:"search search search" "add viewall count" "sort sort sort";
  }
  .printerProfilesToolbar #printerAddBtn{width:auto!important}
}

/* ---- Delete Account: data handling step --------------------------------------------- */
.deleteDataDialog{width:min(560px,100%)!important}
.deleteDataIntro{margin:0 0 12px;color:var(--text);font-size:.96rem;font-weight:650}
.deleteDataSummary{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;
}
.deleteDataSummary span{
  padding:5px 11px;border:1px solid var(--line);border-radius:999px;
  background:color-mix(in srgb,var(--accent) 8%,transparent);
  color:var(--accent2);font-size:.74rem;font-weight:800;
}
.deleteDataOptions{display:grid;gap:10px}
.deleteDataOption{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;
  padding:14px 15px;border:1px solid var(--line);border-radius:14px;
  background:var(--surface-raised,var(--panel));color:var(--text);text-align:left;cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.deleteDataOption:hover{transform:translateX(2px);border-color:color-mix(in srgb,var(--accent) 62%,var(--line));background:color-mix(in srgb,var(--accent) 9%,var(--surface-raised,var(--panel)))}
.deleteDataOption b{display:block;font-size:.92rem}
.deleteDataOption small{display:block;margin-top:2px;color:var(--muted);font-size:.78rem;line-height:1.4}
.deleteDataIcon{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent) 11%,transparent);color:var(--accent2)}
.deleteDataIcon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.deleteDataOption.danger:hover{border-color:var(--danger,#ff6677);background:color-mix(in srgb,var(--danger,#ff6677) 10%,transparent)}
.deleteDataOption.danger .deleteDataIcon{border-color:color-mix(in srgb,var(--danger,#ff6677) 45%,var(--line));background:color-mix(in srgb,var(--danger,#ff6677) 11%,transparent);color:var(--danger,#ff6677)}
.deleteDataNote{margin:14px 0 0;color:var(--muted);font-size:.8rem;line-height:1.45}

/* ---- Summary: profit / fee / rounding on one line ----------------------------------- */
/* The row wrapped because the step labels could not shrink. Allowing them to compress and
   tightening the gaps keeps all three together, wrapping only on genuinely narrow screens. */
#suggestedPriceBreakdown{
  flex-wrap:nowrap!important;
  gap:7px!important;
  align-items:center;
}
#suggestedPriceBreakdown .suggestedPriceHeroStep{min-width:0;flex:0 1 auto;gap:7px}
#suggestedPriceBreakdown .suggestedPriceHeroStep strong,
#suggestedPriceBreakdown .suggestedPriceHeroStep small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#suggestedPriceBreakdown .suggestedPriceHeroStepIcon{flex:0 0 30px;width:30px;height:30px}
#suggestedPriceBreakdown .suggestedPriceHeroOp{flex:0 0 auto;margin:0 1px}
@media(max-width:900px){
  #suggestedPriceBreakdown{gap:5px!important}
  #suggestedPriceBreakdown .suggestedPriceHeroStep strong{font-size:.78rem}
  #suggestedPriceBreakdown .suggestedPriceHeroStep small{font-size:.7rem}
  #suggestedPriceBreakdown .suggestedPriceHeroStepIcon{flex:0 0 26px;width:26px;height:26px}
}
@media(max-width:560px){
  #suggestedPriceBreakdown{flex-wrap:wrap!important;justify-content:center}
}

/* ---- Secure checkout: header reaches the right edge --------------------------------- */
/* account-page.css gives .simulatedCheckoutScroll a 12px right margin to keep the scrollbar off
   the rounded corner. That margin also inset the header, leaving an uncolored strip down the
   right side of the frame. scrollbar-gutter reserves the space inside the scroller instead, so
   the header spans the full width and the scrollbar still clears the corner. */
.simulatedCheckoutScroll{
  margin-right:0!important;
  scrollbar-gutter:stable;
}

/* ---- Secure checkout: accent band spans the full header ----------------------------- */
/* The base rule ends its 135deg gradient on plain --panel, so the accent visibly ran out
   before the right edge of the frame. Carrying a tint through to 100% keeps the band even
   across the whole header, with the radial highlight still weighted toward the top right. */
.simulatedCheckoutDialog>header{
  background:
    radial-gradient(circle at 88% 0%,color-mix(in srgb,var(--accent) 30%,transparent),transparent 46%),
    linear-gradient(120deg,
      color-mix(in srgb,var(--accent) 24%,var(--panel)) 0%,
      color-mix(in srgb,var(--accent) 15%,var(--panel)) 52%,
      color-mix(in srgb,var(--accent) 21%,var(--panel)) 100%)!important;
}

/* ---- Printer Profiles: full-screen catalogue --------------------------------------- */
.printerViewAllBtn{
  grid-area:viewall;
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:.82rem!important;
  white-space:nowrap;
}
body.printerViewAllOpen{overflow:hidden}
.printerViewAllBackdrop{
  position:fixed;
  inset:0;
  z-index:2147481000;
  display:grid;
  place-items:center;
  padding:clamp(10px,2.5vw,28px);
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  backdrop-filter:blur(10px);
}
.printerViewAllPanel{
  display:flex;
  flex-direction:column;
  width:min(1240px,100%);
  max-height:min(92dvh,940px);
  overflow:hidden;
  border:1px solid var(--accent);
  border-radius:24px;
  background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 6%,var(--panel)),var(--panel));
  box-shadow:0 40px 90px rgba(0,0,0,.55);
}
.printerViewAllHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
}
.printerViewAllHeader span{color:var(--accent2);font-size:.64rem;font-weight:900;letter-spacing:.15em}
.printerViewAllHeader h2{margin:2px 0 0;font-size:1.2rem}
.printerViewAllClose{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));
  border-radius:50%;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  color:var(--accent2);
  font-size:1.25rem;
  cursor:pointer;
}
.printerViewAllTools{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:13px 22px;
  border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--accent) 5%,transparent);
}
.printerViewAllTools .btn{min-height:36px!important;padding:7px 13px!important;font-size:.79rem!important}
.printerDangerBtn{
  border-color:color-mix(in srgb,var(--danger,#ff6677) 55%,var(--line))!important;
  color:var(--danger,#ff6677)!important;
}
.printerSelectedCount{margin-left:auto;color:var(--accent2);font-size:.8rem;font-weight:750}
.printerBulkCheck{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.82rem}
.printerBulkCheck input{position:absolute;opacity:0;width:0;height:0}
.printerBulkCheck span{
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));
  border-radius:6px;
  background:var(--surface-input,var(--panel2));
  transition:background .15s ease,border-color .15s ease;
}
.printerBulkCheck input:checked+span{background:var(--accent);border-color:var(--accent)}
.printerBulkCheck input:checked+span::after{content:"";width:5px;height:9px;margin-top:-2px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.printerBulkCheck input:focus-visible+span{outline:2px solid var(--accent2);outline-offset:2px}
.printerViewAllScroll{flex:1 1 auto;overflow:auto;padding:0 6px 6px}
.printerViewAllTable{width:100%;border-collapse:collapse;font-size:.84rem}
.printerViewAllTable thead th{
  position:sticky;
  top:0;
  z-index:1;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  background:var(--panel);
  color:var(--accent2);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-align:left;
  text-transform:uppercase;
  white-space:nowrap;
}
.printerViewAllTable td{padding:12px 14px;border-bottom:1px solid color-mix(in srgb,var(--line) 70%,transparent);white-space:nowrap}
.printerViewAllTable tbody tr{cursor:pointer;transition:background .15s ease}
.printerViewAllTable tbody tr:hover{background:color-mix(in srgb,var(--accent) 9%,transparent)}
.printerViewAllTable tbody tr.selected{background:color-mix(in srgb,var(--accent) 15%,transparent)}
.printerPickCol{width:46px;cursor:default}
.printerViewAllEmpty{padding:28px;color:var(--muted);text-align:center}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:620px){
  .printerViewAllPanel{max-height:96dvh;border-radius:18px}
  .printerViewAllTools{padding:11px 14px}
  .printerSelectedCount{margin-left:0;width:100%}
}

/* ---- Calculator: Project Name + printer profile picker ------------------------------ */
.projectNameRow{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:12px;
  align-items:end;
  grid-column:1 / -1;
}
/* Stop the moved Project Name .full from spanning both columns / adding top margin. */
.projectNameRow>.full{grid-column:auto;margin-top:0!important}
.printerProfilePickerField{min-width:0}
.printerProfilePickerField>label{
  display:flex!important;
  align-items:center;
  gap:7px;
  margin:0 0 7px!important;
  min-height:1.35em;
}
.printerProfilePickerField>label .advancedHelp{flex:0 0 19px}
.projectNameRow>.full>label{
  display:flex!important;
  align-items:center;
  margin:0 0 7px!important;
  min-height:1.35em;
}
/* Match Project Name input height; keep the same themedSelect chevron as other app selects
   (compact SVG — do NOT stretch into a dark side blob). */
.projectNameRow #projectName,
.printerProfilePickerField .themedSelectButton{
  box-sizing:border-box!important;
  width:100%;
  min-height:48px!important;
  height:48px!important;
  padding:12px 14px!important;
  line-height:1.35!important;
}
.printerProfilePickerField .themedSelect{width:100%;min-width:0}
.printerProfilePickerField .themedSelectButton{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding-right:14px!important;
}
.printerProfilePickerField .themedSelectButton span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.printerProfilePickerField .themedSelectButton svg{
  align-self:center!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:0 0 0 10px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
/* Hide the legacy selectControl chevron when themedSelect wraps the native select
   (prevents double-arrow app-wide). */
.selectControl:has(> .themedSelect) > .selectChevron{
  display:none!important;
}
.printerProfilePickerField .selectControl:has(> .themedSelect) > .selectChevron{
  display:none!important;
}
@media(max-width:620px){
  .projectNameRow{grid-template-columns:minmax(0,1fr)}
}

/* ---- Inventory: material type on color chip hover ---------------------------------- */
/* Mirrors .inventoryTypeColorPreview on the Material Types chips, so both breakdown cards
   reveal the other card's dimension on hover. */
.inventoryBreakdownChip.inventoryColorChip{position:relative}
.inventoryColorTypePreview{
  position:absolute;
  z-index:30;
  top:calc(100% + 7px);
  left:0;
  display:flex;
  flex-wrap:wrap;
  width:max-content;
  max-width:min(300px,82vw);
  gap:6px 9px;
  padding:9px 11px;
  border:1px solid color-mix(in srgb,var(--accent) 58%,var(--line));
  border-radius:12px;
  background:var(--panel);
  box-shadow:0 14px 30px rgba(0,0,0,.32);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}
.inventoryColorTypePreview:empty{display:none}
.inventoryBreakdownChip.inventoryColorChip:hover .inventoryColorTypePreview,
.inventoryBreakdownChip.inventoryColorChip:focus-visible .inventoryColorTypePreview{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.inventoryColorTypePreview>span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 9px;
  border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--accent) 12%,transparent);
  color:var(--accent2);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}
.inventoryColorTypePreview small{color:var(--muted);font-size:.62rem;font-weight:700}
@media(max-width:620px){
  .inventoryColorTypePreview{max-width:88vw}
  .inventoryColorTypePreview>span{font-size:.63rem}
}

/* ---- AI Analysis: formatted report -------------------------------------------------- */
.aiAnalysisResult{color:var(--text)}
.aiAnalysisResult .aiAnalysisHeading{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 10px;
  color:var(--accent2);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.aiAnalysisResult .aiAnalysisHeading::before{
  content:"";
  flex:0 0 auto;
  width:4px;
  height:15px;
  border-radius:99px;
  background:linear-gradient(180deg,var(--accent2),var(--accent));
}
.aiAnalysisResult .aiAnalysisRule{
  height:1px;
  margin:18px 0 15px;
  border:0;
  background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 45%,transparent),var(--line) 55%,transparent);
}
.aiAnalysisResult p{margin:0 0 11px;line-height:1.55}
.aiAnalysisResult ul,.aiAnalysisResult ol{margin:0 0 12px;padding-left:0;display:grid;gap:8px;list-style:none}
.aiAnalysisResult ol{counter-reset:aiStep}
.aiAnalysisResult li{
  position:relative;
  padding:9px 12px 9px 34px;
  border:1px solid var(--line);
  border-radius:11px;
  background:color-mix(in srgb,var(--accent) 5%,transparent);
  line-height:1.5;
  font-size:.88rem;
}
.aiAnalysisResult ul li::before{
  content:"";
  position:absolute;
  left:14px;
  top:1.05em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 8px color-mix(in srgb,var(--accent) 60%,transparent);
}
.aiAnalysisResult ol li{counter-increment:aiStep}
.aiAnalysisResult ol li::before{
  content:counter(aiStep);
  position:absolute;
  left:9px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  border-radius:50%;
  background:color-mix(in srgb,var(--accent) 20%,transparent);
  color:var(--accent2);
  font-size:.66rem;
  font-weight:900;
}
.aiAnalysisResult li b{color:var(--text)}
.aiAnalysisResult b{color:var(--accent2)}
.aiAnalysisResult code{
  padding:1px 6px;
  border-radius:6px;
  background:color-mix(in srgb,var(--accent) 14%,transparent);
  font-size:.84em;
}

/* ---- AI Analysis: confirmation scope list ------------------------------------------- */
.aiScopeIntro{margin:0 0 14px;color:var(--text);line-height:1.5}
.aiScopeNote{margin:14px 0 0;color:var(--muted);font-size:.84rem;line-height:1.45}
.aiScopeList{
  display:grid;
  gap:1px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--line);
  overflow:hidden;
}
.aiScopeRow{
  display:grid;
  grid-template-columns:minmax(120px,.62fr) minmax(0,1fr);
  gap:12px;
  align-items:baseline;
  padding:10px 13px;
  background:var(--surface-raised,var(--panel));
}
.aiScopeRow>span{color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.aiScopeRow>strong{color:var(--text);font-size:.86rem;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:520px){
  .aiScopeRow{grid-template-columns:minmax(0,1fr);gap:3px}
}
.themedDialogActions.aiAnalysisSingleAction{grid-template-columns:minmax(150px,220px)!important;justify-content:center!important}
.themedDialogActions[hidden]{display:none!important}

/* ---- AI Analysis: thinking state ----------------------------------------------------- */
.aiThinking{display:grid;justify-items:center;gap:18px;padding:14px 4px 6px}
.aiThinkingCore{position:relative;display:grid;place-items:center;width:132px;height:132px}
.aiThinkingRing{
  position:absolute;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--accent) 46%,transparent);
}
.aiThinkingRing.r1{inset:0;border-top-color:var(--accent);border-right-color:color-mix(in srgb,var(--accent2) 70%,transparent);animation:aiSpin 2.6s linear infinite}
.aiThinkingRing.r2{inset:16px;border-bottom-color:var(--accent2);border-left-color:color-mix(in srgb,var(--accent) 60%,transparent);animation:aiSpin 3.4s linear infinite reverse}
.aiThinkingRing.r3{inset:32px;border-style:dashed;border-color:color-mix(in srgb,var(--accent2) 46%,transparent);animation:aiSpin 6s linear infinite}
.aiThinkingPulse{
  position:absolute;
  inset:40px;
  border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 46%,transparent),transparent 68%);
  animation:aiPulse 2.1s ease-in-out infinite;
}
.aiThinkingSpark{position:relative;display:grid;place-items:center;color:var(--accent2);animation:aiSparkFloat 2.6s ease-in-out infinite}
.aiThinkingSpark svg{width:38px;height:38px;fill:currentColor;filter:drop-shadow(0 0 12px color-mix(in srgb,var(--accent) 60%,transparent))}
@keyframes aiSpin{to{transform:rotate(360deg)}}
@keyframes aiPulse{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:.8;transform:scale(1.06)}}
@keyframes aiSparkFloat{0%,100%{transform:translateY(-2px) scale(1)}50%{transform:translateY(2px) scale(1.08)}}

.aiThinkingScan{display:flex;align-items:flex-end;gap:6px;height:34px}
.aiThinkingScan i{
  width:6px;
  border-radius:99px;
  background:linear-gradient(180deg,var(--accent2),var(--accent));
  animation:aiScanBar 1.25s ease-in-out infinite;
}
.aiThinkingScan i:nth-child(1){animation-delay:0s}
.aiThinkingScan i:nth-child(2){animation-delay:.1s}
.aiThinkingScan i:nth-child(3){animation-delay:.2s}
.aiThinkingScan i:nth-child(4){animation-delay:.3s}
.aiThinkingScan i:nth-child(5){animation-delay:.4s}
.aiThinkingScan i:nth-child(6){animation-delay:.5s}
.aiThinkingScan i:nth-child(7){animation-delay:.6s}
@keyframes aiScanBar{0%,100%{height:9px;opacity:.45}50%{height:32px;opacity:1}}

.aiThinkingStage{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--text);
  font-size:.93rem;
  font-weight:650;
  text-align:center;
  transition:opacity .22s ease,transform .22s ease;
}
.aiThinkingStage.swap{opacity:0;transform:translateY(-6px)}
.aiThinkingDots{display:inline-flex;gap:4px}
.aiThinkingDots i{width:4px;height:4px;border-radius:50%;background:var(--accent);animation:aiDot 1.1s ease-in-out infinite}
.aiThinkingDots i:nth-child(2){animation-delay:.15s}
.aiThinkingDots i:nth-child(3){animation-delay:.3s}
@keyframes aiDot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

.aiThinkingTrack{width:min(320px,100%);height:4px;border-radius:99px;background:color-mix(in srgb,var(--line) 80%,transparent);overflow:hidden}
.aiThinkingTrack>span{display:block;width:38%;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--accent2),var(--accent));animation:aiTrack 1.9s ease-in-out infinite}
@keyframes aiTrack{0%{transform:translateX(-105%)}100%{transform:translateX(320%)}}

@media(prefers-reduced-motion:reduce){
  .aiThinkingRing,.aiThinkingPulse,.aiThinkingSpark,.aiThinkingScan i,.aiThinkingDots i,.aiThinkingTrack>span{animation:none!important}
}

/* ---- Projects: recent project preview ------------------------------------------------ */
.recentProjectsPreview{margin:6px 0 4px}
.recentProjectsHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
.recentProjectsHead h3{margin:0;font-size:.95rem}
.recentProjectsHead span{color:var(--muted);font-size:.78rem}
.recentProjectsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:11px;
}
.recentProjectThumb{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:11px;
  background:color-mix(in srgb,var(--accent) 7%,var(--surface-input,var(--panel2)));
}
.recentProjectThumb img{width:100%;height:100%;object-fit:cover;display:block}
.recentProjectThumbFallback{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:color-mix(in srgb,var(--swatch,var(--accent)) 70%,var(--muted));
}
.recentProjectThumbFallback svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.recentProjectBody{display:grid;gap:6px;min-width:0}
.recentProjectCard{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:15px;
  background:linear-gradient(180deg,var(--panel2),rgba(255,255,255,.02));
  color:inherit;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.recentProjectCard:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--accent) 62%,var(--line));
  box-shadow:0 14px 30px rgba(0,0,0,.2);
}
.recentProjectCardTop{display:flex;align-items:center;gap:9px;min-width:0}
.recentProjectSwatch{
  flex:0 0 auto;
  width:13px;
  height:13px;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--line) 70%,transparent);
  background:var(--swatch,var(--accent));
}
.recentProjectName{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:750;
  font-size:.9rem;
}
.recentProjectPrice{color:var(--accent2);font-size:1.12rem;font-weight:800;line-height:1}
.recentProjectMeta{display:flex;flex-wrap:wrap;gap:5px 10px;color:var(--muted);font-size:.73rem}
.recentProjectsFoot{display:flex;justify-content:flex-end;margin-top:11px}

/* Project action dialog */
.projectActionList{display:grid;gap:9px}
.projectActionButton{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-raised,var(--panel));
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.projectActionButton:hover{transform:translateX(2px);border-color:color-mix(in srgb,var(--accent) 62%,var(--line));background:color-mix(in srgb,var(--accent) 9%,var(--surface-raised,var(--panel)))}
.projectActionButton .projectActionIcon{display:grid;place-items:center;width:36px;height:36px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--accent) 11%,transparent);color:var(--accent2)}
.projectActionButton .projectActionIcon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.projectActionButton b{display:block;font-size:.9rem}
.projectActionButton small{display:block;color:var(--muted);font-size:.75rem;line-height:1.35}
.projectActionButton .projectActionChevron{color:var(--muted)}
.projectActionButton.danger:hover{border-color:var(--danger,#ff6677);background:color-mix(in srgb,var(--danger,#ff6677) 12%,transparent)}
.projectActionButton.danger .projectActionIcon{border-color:color-mix(in srgb,var(--danger,#ff6677) 45%,var(--line));background:color-mix(in srgb,var(--danger,#ff6677) 12%,transparent);color:var(--danger,#ff6677)}
.projectActionSummary{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:color-mix(in srgb,var(--accent) 7%,transparent);
  color:var(--muted);
  font-size:.79rem;
}
.projectActionSummary strong{color:var(--text)}

/* ---- Profile library manage bar / filters / selection (2026-07-19) ---- */
.profileLibraryManageBar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:12px 0 10px;
}
.profileLibraryManageBar .btn{min-height:38px;padding:8px 12px;font-weight:500}
.profileFilterToggle{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
}
.profileFilterToggle svg{width:18px;height:18px;flex:0 0 auto}
.profileFilterToggle.active,
.profileFilterToggle[aria-expanded="true"]{
  border-color:color-mix(in srgb,var(--accent) 62%,var(--line))!important;
  background:color-mix(in srgb,var(--accent) 14%,transparent)!important;
  color:var(--accent2)!important;
}
.profileCatalog.filtersCollapsed #profileCatalogFilters{display:none!important}
.profileLibraryManageBar .savedProfileClearAction{
  margin-top:0;
  width:auto;
  margin-left:auto;
}
.profileLibrarySelectionBar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid color-mix(in srgb,var(--accent) 48%,var(--line));
  border-radius:14px;
  background:color-mix(in srgb,var(--accent) 10%,var(--surface-raised,var(--panel)));
}
.profileLibrarySelectionBar[hidden]{display:none!important}
.profileLibrarySelectionActions{display:flex;flex-wrap:wrap;gap:8px}
.profileCatalog.selectingProfiles .materialCatalogCard{
  cursor:pointer;
  padding-left:40px;
}
.profileSelectMark{
  display:none;
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  place-items:center;
  width:22px;
  height:22px;
  border:2px solid color-mix(in srgb,var(--accent) 55%,var(--line));
  border-radius:7px;
  background:var(--surface-raised,var(--panel));
  color:transparent;
  font-size:.72rem;
  font-weight:800;
  line-height:1;
}
.profileCatalog.selectingProfiles .profileSelectMark{display:grid}
.profileCatalog.selectingProfiles .materialCatalogCard.selected{
  border-color:color-mix(in srgb,var(--accent) 72%,var(--line));
  box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 28%,transparent);
}
.profileCatalog.selectingProfiles .materialCatalogCard.selected .profileSelectMark{
  border-color:var(--accent);
  background:var(--accent);
  color:var(--button-text,var(--accent-ink,#fff));
}
.profileCatalog.selectingProfiles .materialCardActions{
  pointer-events:none;
  opacity:.45;
}

/* Mobile: make Grid vs List unmistakably different */
@media(max-width:760px){
  .profileLibraryManageBar .savedProfileClearAction{
    width:100%;
    margin-left:0;
  }
  .profileLibrarySelectionBar{flex-direction:column;align-items:stretch}
  .profileLibrarySelectionActions .btn{flex:1 1 auto}

  #profileList.profileCatalogGrid:not(.profileCatalogListView),
  #profileList.profileCatalogGridView:not(.profileCatalogListView){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCatalogCard,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCatalogCard{
    display:flex!important;
    flex-direction:column!important;
    gap:8px;
    padding:0!important;
    overflow:hidden;
    border-width:1px;
    border-radius:16px;
    box-shadow:0 10px 22px rgba(0,0,0,.18);
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCatalogCard::before,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCatalogCard::before{
    inset:0 0 auto 0;
    width:100%;
    height:8px;
    background:linear-gradient(90deg,var(--card-color,var(--accent)),color-mix(in srgb,var(--card-color,var(--accent)) 35%,transparent));
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardTop,
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardStock,
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardMeta,
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardActions,
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardExpandedDetails,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardTop,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardStock,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardMeta,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardActions,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardExpandedDetails{
    padding-left:11px;
    padding-right:11px;
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardTop,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardTop{
    padding-top:14px;
    flex-direction:column;
    align-items:flex-start;
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardActions,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardActions{
    padding-bottom:11px;
    grid-template-columns:1fr!important;
  }
  #profileList.profileCatalogGrid:not(.profileCatalogListView) .materialCardMeta,
  #profileList.profileCatalogGridView:not(.profileCatalogListView) .materialCardMeta{
    display:none!important;
  }

  #profileList.profileCatalogListView{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  #profileList.profileCatalogListView .materialCatalogCard{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:
      "orb identity status"
      "orb stock stock"
      "actions actions actions"!important;
    align-items:center;
    gap:6px 10px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    box-shadow:none!important;
    transform:none!important;
  }
  #profileList.profileCatalogListView .materialCatalogCard::before{display:none!important}
  #profileList.profileCatalogListView .materialCatalogCard:hover{
    transform:none!important;
    box-shadow:none!important;
  }
  #profileList.profileCatalogListView .materialCardTop{display:contents}
  #profileList.profileCatalogListView .materialCardIdentity{grid-area:identity;min-width:0}
  #profileList.profileCatalogListView .materialCardIdentity h4{font-size:.88rem;margin:0}
  #profileList.profileCatalogListView .materialCardIdentity p{margin:2px 0 0;font-size:.7rem}
  #profileList.profileCatalogListView .materialColorOrb{
    grid-area:orb;
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
    border-radius:9px!important;
    border-width:2px;
  }
  #profileList.profileCatalogListView .stockStatus{grid-area:status;font-size:.62rem;padding:3px 7px}
  #profileList.profileCatalogListView .materialCardStock{grid-area:stock;margin:0!important}
  #profileList.profileCatalogListView .materialCardMeta,
  #profileList.profileCatalogListView .materialCardExpandedDetails{display:none!important}
  #profileList.profileCatalogListView .materialCardActions{
    grid-area:actions;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px;
    margin:4px 0 0!important;
  }
  #profileList.profileCatalogListView .materialCardActions .btn{
    min-height:32px;
    padding:6px 4px;
    font-size:.72rem;
  }
}
