/* Baskibu Designer 0.23.0-dev44 — Commerce-first product panel, calm rulers, premium typography */

/* Product panel: answer “what am I designing and what does it cost?” only. */
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-identity,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-compact-row,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-surface-list,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-flow-actions,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-preflight,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-setup-note,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-personalizer,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > .bbd-product-history,
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 > [data-bbd-quick-personalizer] {
  display: none !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 .bbd-menu-section-heading-pro {
  min-height: 62px !important;
  margin-bottom: 10px !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-product-panel-v44 .bbd-menu-heading-meta > span {
  display: none !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid #e2e7ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15,23,42,.055);
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__head {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #cde9e2;
  border-radius: 10px;
  background: #effaf7;
  color: #0c8a70;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__head strong {
  display: block;
  color: #101828;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.025em;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__head span {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 10px;
  font-weight: 650;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__chips span {
  padding: 5px 8px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 9px;
  font-weight: 730;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__price {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 2px 10px;
  padding: 12px 0;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__price > span {
  grid-column: 1;
  color: #667085;
  font-size: 9px;
  font-weight: 700;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__price > strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 170px;
  color: #101828;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-align: right;
  line-height: 1.05;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__price > small {
  grid-column: 1;
  color: #98a2b3;
  font-size: 8.5px;
  font-weight: 620;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__actions button {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 820;
  cursor: pointer;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__actions .is-primary {
  border: 1px solid var(--bbd-color-accent,#ff4b00);
  background: var(--bbd-color-accent,#ff4b00);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,75,0,.16);
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__actions .is-secondary {
  border: 1px solid #dfe4ea;
  background: #fff;
  color: #344054;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__actions button:hover { transform: translateY(-1px); }
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__hint {
  margin: -3px 0 0;
  color: #98a2b3;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.45;
}

/* Real ruler language: quiet ticks, no repeated “0cm20cm…” wall of text. */
.bbd-pro-workspace-v0230-dev44 .bbd-ruler,
.bbd-pro-workspace-v0230-dev44 .bbd-dimension-overlay {
  display: none !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-rulers {
  position: absolute;
  inset: 0;
  z-index: 17;
  pointer-events: none;
}
.bbd-pro-workspace-v0230-dev44.is-preview-mode .bbd-clean-rulers { display: none !important; }
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler-unit {
  position: absolute;
  left: calc(var(--bbd-ruler-left) - 25px);
  top: calc(var(--bbd-ruler-top) - 25px);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e6ec;
  border-radius: 6px;
  background: rgba(255,255,255,.94);
  color: #7a8594;
  font-size: 7px;
  font-weight: 850;
  text-transform: uppercase;
  box-shadow: 0 2px 7px rgba(15,23,42,.04);
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler {
  position: absolute;
  color: #657184;
  font-size: 8px;
  font-weight: 700;
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-horizontal {
  left: var(--bbd-ruler-left);
  top: calc(var(--bbd-ruler-top) - 24px);
  width: var(--bbd-ruler-width);
  height: 20px;
  border-bottom: 1px solid rgba(99,115,129,.22);
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-vertical {
  left: calc(var(--bbd-ruler-left) - 24px);
  top: var(--bbd-ruler-top);
  width: 20px;
  height: var(--bbd-ruler-height);
  border-right: 1px solid rgba(99,115,129,.22);
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler i {
  position: absolute;
  display: block;
  background: rgba(99,115,129,.34);
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-horizontal i {
  bottom: 0;
  width: 1px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-horizontal i.is-minor { height: 4px; }
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-horizontal i.is-major { height: 8px; }
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-horizontal i span {
  position: absolute;
  bottom: 9px;
  left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #7a8594;
  font-style: normal;
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-vertical i {
  right: 0;
  height: 1px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-vertical i.is-minor { width: 4px; }
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-vertical i.is-major { width: 8px; }
.bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler.is-vertical i span {
  position: absolute;
  right: 9px;
  top: 0;
  transform: translateY(-50%);
  white-space: nowrap;
  color: #7a8594;
  font-style: normal;
}

/* Text studio: Printful-like calm hierarchy, actual typography previews, progressive disclosure. */
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-text-mode-tabs,
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-panel-subtitle,
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-text-memory,
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-dev43-legacy-quick,
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-dev43-hide-categories {
  display: none !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-composer {
  gap: 8px;
  margin-bottom: 14px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-composer label {
  color: #101828;
  font-size: 11px;
  font-weight: 820;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-composer textarea {
  min-height: 92px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.45;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-composer button {
  min-height: 42px;
  border-radius: 10px;
  font-size: 11px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-search-field {
  margin: 0 0 18px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-search-field input {
  min-height: 40px;
  padding-left: 12px;
  border-color: #dfe4ea;
  background: #fff;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-gallery-section {
  margin-bottom: 22px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-gallery-head {
  margin-bottom: 10px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-gallery-head strong {
  font-size: 12px;
  font-weight: 850;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-gallery-head small {
  color: #98a2b3;
  font-size: 8.5px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-type-gallery-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-visual-preset-card {
  min-height: 132px;
  grid-template-rows: 92px auto !important;
  padding: 8px !important;
  border-color: #e4e7ec !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.025) !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-visual-preset-card:hover {
  border-color: #cfd6df !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.075) !important;
  transform: translateY(-2px);
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-preset-preview {
  height: 90px !important;
  min-height: 90px !important;
  display: grid;
  place-items: center;
  padding: 8px !important;
  background: #fff !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-preset-preview b {
  max-width: 100%;
  color: var(--bbd-preset-accent,#111827);
  font-family: var(--bbd-preset-font), Inter, sans-serif;
  font-size: 20px !important;
  font-weight: 750;
  line-height: .98;
  text-align: center;
  text-wrap: balance;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .bbd-visual-preset-card > strong {
  margin: 5px 2px 1px !important;
  color: #667085 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-studio-v44 .is-v44-folded { display: none !important; }
.bbd-pro-workspace-v0230-dev44 .bbd-type-more-v44 {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: #475467;
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
}
.bbd-pro-workspace-v0230-dev44 .bbd-type-more-v44 svg { transition: transform .15s ease; }
.bbd-pro-workspace-v0230-dev44 .bbd-type-more-v44.is-expanded svg { transform: rotate(90deg); }

/* Calm the top-level explanatory copy; contextual tools do the teaching. */
.bbd-pro-workspace-v0230-dev44 .bbd-menu-section-heading-pro .bbd-menu-heading-meta button {
  min-width: 34px;
  padding: 0 6px;
}
.bbd-pro-workspace-v0230-dev44 .bbd-menu-section-heading-pro .bbd-menu-heading-meta kbd { display: none; }

@media (max-width: 1180px) {
  .bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__price > strong { font-size: 17px; }
  .bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler-unit,
  .bbd-pro-workspace-v0230-dev44 .bbd-clean-ruler { opacity: .82; }
}
@media (max-width: 1024px) {
  .bbd-pro-workspace-v0230-dev44 .bbd-clean-rulers { display: none !important; }
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__surfaces {
  display: flex;
  gap: 5px;
  padding: 3px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #f5f7f9;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__surfaces[hidden] { display: none !important; }
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__surfaces button {
  flex: 1 1 0;
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667085;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}
.bbd-pro-workspace-v0230-dev44 .bbd-commerce-summary__surfaces button.is-active {
  background: #fff;
  color: #d84b14;
  box-shadow: 0 1px 5px rgba(15,23,42,.07);
}
