/* Baskibu Designer 0.23.0-dev47 — readable app rail + visual copy studio */

/* Desktop rail: readable labels without turning the UI into a toolbar wall. */
.bbd-pro-workspace-v0230-dev47 {
  --bbd-rail-width: 78px !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-app-rail-v45.bbd-readable-rail-v47 {
  width:78px !important;
  max-width:78px !important;
  padding:10px 6px !important;
  gap:5px !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool.bbd-app-tool-v45,
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool[data-panel="mobile-more"] {
  width:66px !important;
  min-height:62px !important;
  padding:8px 4px 7px !important;
  gap:5px !important;
  border-radius:14px !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool svg {
  width:22px !important;
  height:22px !important;
  stroke-width:1.85 !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool span {
  display:block !important;
  max-width:62px !important;
  overflow:visible !important;
  color:inherit !important;
  font-size:11px !important;
  font-weight:760 !important;
  line-height:1.08 !important;
  letter-spacing:-.015em !important;
  text-align:center !important;
  text-overflow:clip !important;
  white-space:normal !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool.is-active {
  box-shadow:inset 3px 0 0 #ff5b1f,0 8px 18px rgba(0,0,0,.09) !important;
}

/* Text panel: one clean visual library instead of empty headings and legacy clutter. */
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-host-v47 .bbd-v47-legacy-hidden { display:none !important; }
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-host-v47 > .bbd-panel-heading h2,
.bbd-pro-workspace-v0230-dev47 [data-panel-content="text"] > .bbd-panel-heading h2 {
  font-size:22px !important;
  letter-spacing:-.035em !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-host-v47 .bbd-search-field {
  margin-bottom:14px !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-v47 {
  margin:0 -2px 20px;
  padding-bottom:16px;
}
.bbd-v47-section-head {
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:2px 2px 9px;
}
.bbd-v47-section-head strong {
  display:block;
  color:#101828;
  font-size:13px;
  font-weight:850;
  letter-spacing:-.018em;
}
.bbd-v47-section-head small {
  display:block;
  margin-top:2px;
  color:#98a2b3;
  font-size:9px;
  font-weight:620;
  line-height:1.25;
}
.bbd-v47-section-head > button {
  width:30px;height:30px;display:grid;place-items:center;
  border:1px solid #e3e8ef;border-radius:9px;background:#fff;color:#475467;
  font-size:20px;line-height:1;cursor:pointer;
}
.bbd-v47-style-strip {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:132px;
  gap:9px;
  overflow-x:auto;
  padding:2px 2px 11px;
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
  overscroll-behavior-x:contain;
}
.bbd-style-card-v47,
.bbd-copy-card-v47 {
  position:relative;
  min-width:0;
  display:grid;
  align-content:stretch;
  padding:0;
  overflow:hidden;
  border:1px solid #e1e6ed;
  border-radius:13px;
  background:#fff;
  color:#101828;
  text-align:left;
  box-shadow:0 2px 7px rgba(15,23,42,.035);
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.bbd-style-card-v47 { min-height:122px; grid-template-rows:86px auto; }
.bbd-copy-card-v47 { min-height:148px; grid-template-rows:110px auto; }
.bbd-style-card-v47:hover,
.bbd-copy-card-v47:hover,
.bbd-style-card-v47:focus-visible,
.bbd-copy-card-v47:focus-visible {
  transform:translateY(-2px);
  border-color:#ffb89e;
  box-shadow:0 12px 26px rgba(15,23,42,.095);
  outline:none;
}
.bbd-v47-preview {
  display:grid;
  place-items:center;
  min-width:0;
  padding:12px 8px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 20%,rgba(255,255,255,.98),rgba(249,250,251,.98) 75%),
    #fff;
  color:var(--v47-color,#111827);
  font-family:var(--v47-font),sans-serif;
  font-size:20px;
  font-weight:800;
  line-height:.98;
  letter-spacing:-.035em;
  text-align:center;
  text-wrap:balance;
  transform:rotate(var(--v47-angle,0deg));
}
.bbd-copy-card-v47:nth-child(4n+2) .bbd-v47-preview { background:#fff8f4; }
.bbd-copy-card-v47:nth-child(4n+3) .bbd-v47-preview { background:#f7fbff; }
.bbd-copy-card-v47:nth-child(4n+4) .bbd-v47-preview { background:#f7fff9; }
.bbd-v47-card-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  min-height:36px;
  padding:7px 9px;
  border-top:1px solid #eef1f4;
  background:#fff;
}
.bbd-v47-card-meta strong {
  min-width:0;
  overflow:hidden;
  color:#344054;
  font-size:9.5px;
  font-weight:780;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbd-v47-card-meta small {
  flex:0 0 auto;
  color:#98a2b3;
  font-size:7.5px;
  font-weight:700;
}
.bbd-v47-copy-head { margin-top:18px; }
.bbd-v47-copy-categories {
  display:flex;
  gap:6px;
  overflow-x:auto;
  margin:0 2px 10px;
  padding:1px 0 5px;
  scrollbar-width:none;
}
.bbd-v47-copy-categories::-webkit-scrollbar { display:none; }
.bbd-v47-copy-categories button {
  flex:0 0 auto;
  min-height:29px;
  padding:0 10px;
  border:1px solid #e3e7ed;
  border-radius:999px;
  background:#fff;
  color:#667085;
  font-size:9px;
  font-weight:780;
  cursor:pointer;
}
.bbd-v47-copy-categories button[aria-pressed="true"] {
  border-color:#ffb89e;
  background:#fff3ee;
  color:#d9430b;
}
.bbd-v47-copy-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:1px 2px 8px;
}
.bbd-v47-empty {
  grid-column:1/-1;
  min-height:96px;
  display:grid;
  place-items:center;
  padding:16px;
  border:1px dashed #d0d5dd;
  border-radius:12px;
  color:#98a2b3;
  font-size:10px;
  text-align:center;
}

/* Give the text composer breathing room, but keep it secondary to visual presets. */
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-host-v47 .bbd-type-composer textarea {
  min-height:78px !important;
}
.bbd-pro-workspace-v0230-dev47 .bbd-copy-studio-host-v47 .bbd-type-composer button {
  min-height:40px !important;
}

@media (max-width:1180px) {
  .bbd-pro-workspace-v0230-dev47 { --bbd-rail-width:74px !important; }
  .bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 { width:74px !important;max-width:74px !important; }
  .bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool.bbd-app-tool-v45,
  .bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool[data-panel="mobile-more"] { width:62px !important; }
  .bbd-pro-workspace-v0230-dev47 .bbd-sidebar.bbd-readable-rail-v47 .bbd-tool span { font-size:10px !important; }
}
@media (max-width:760px) {
  .bbd-v47-copy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion:reduce) {
  .bbd-style-card-v47,.bbd-copy-card-v47 { transition:none !important; }
}
