/* Developo logo builder 1.0.0. Same light-card look as the chat (white cards, soft
   shadows, green selected glow, pill buttons). Buttons reuse .ss-btn from account.css. */
.sslb-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; margin: 0 0 .9rem; background: #F0FDF4; border: 1px solid #CDEFD5; border-radius: 16px; }
.sslb-cta-art svg { display: block; width: 48px; height: 48px; }
.sslb-cta-t { display: grid; gap: .15rem; min-width: 0; color: #0B1220; }
.sslb-cta-t b { font-size: 1.02rem; line-height: 1.25; }
.sslb-cta-t small { color: #344054; font-size: .9rem; line-height: 1.35; }
/* button look: see buttons.css */
.sslb-or { display: flex; align-items: center; gap: .75rem; margin: .2rem 0 .7rem; color: #475467; font-size: .88rem; }
.sslb-or::before, .sslb-or::after { content: ""; flex: 1; height: 1px; background: #E3E8E5; }
@media (max-width: 560px) {
  .sslb-cta { grid-template-columns: auto minmax(0, 1fr); }
  .sslb-cta .ss-btn.sslb-make { grid-column: 1 / -1; width: 100%; }
}

html.sslb-lock { overflow: hidden; }
.sslb { --g: #3BAA4A; --gd: #1B6B2A; --ink: #0B1220; --text: #1F2937; --muted: #475467; --line: #E3E8E5; --soft: #F5F8F6; --mint: #F0FDF4; --mint-line: #CDEFD5;
  width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(11,18,32,.45); overflow: hidden; font: inherit; }
.sslb::backdrop { background: rgba(11,18,32,.55); backdrop-filter: blur(3px); }
.sslb *, .sslb *::before, .sslb *::after { box-sizing: border-box; }
.sslb :focus-visible { outline: 3px solid rgba(59,170,74,.55); outline-offset: 2px; }
.sslb button { font: inherit; cursor: pointer; }
.sslb .ssc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sslb-in { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.sslb-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.sslb-hd h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.sslb-sub { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
.sslb-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid #D0D8D3; background: #fff; color: var(--ink); }
.sslb-x:hover { border-color: var(--ink); }
.sslb-x svg { width: 20px; height: 20px; }
.sslb-body { overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.5rem 1.5rem; }
.sslb-body:focus { outline: none; }

.sslb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.1rem; }
.sslb-f { margin: 0; display: grid; gap: .3rem; }
.sslb-f label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.sslb-opt { font-weight: 500; color: var(--muted); }
.sslb-f input[type="text"] { width: 100%; min-height: 46px; padding: .6rem .85rem; border: 1.5px solid #D0D8D3; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.sslb-f input[type="text"]:focus { border-color: var(--g); box-shadow: 0 0 0 4px rgba(59,170,74,.15); outline: none; }
.sslb-f input[type="color"] { width: 100%; height: 44px; padding: 3px; border: 1.5px solid #D0D8D3; border-radius: 12px; background: #fff; cursor: pointer; }

.sslb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sslb-grid > li { margin: 0; min-width: 0; }
.sslb-card { width: 100%; display: flex; flex-direction: column; padding: 0; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.sslb-card:hover { border-color: var(--g); box-shadow: 0 0 0 4px rgba(59,170,74,.14), 0 14px 30px -14px rgba(11,18,32,.3); transform: translateY(-2px); }
.sslb-art { height: 176px; display: flex; align-items: center; justify-content: center; padding: 18px 20px; }
.sslb-art svg { max-width: 100%; max-height: 132px; width: auto; height: auto; }
.sslb-dk { height: 64px; display: flex; align-items: center; justify-content: center; padding: 10px 16px; }
.sslb-dk svg { max-width: 72%; max-height: 44px; width: auto; height: auto; }
.sslb-ph { height: 242px; border-radius: 18px; background: linear-gradient(100deg, #F5F8F6 30%, #ECF3EE 50%, #F5F8F6 70%); background-size: 300% 100%; animation: sslb-sh 1.2s infinite linear; }
@keyframes sslb-sh { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .sslb-ph { animation: none; } .sslb-card, .sslb-card:hover { transition: none; transform: none; } }
.sslb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-top: 1.2rem; }
.sslb-own { display: flex; align-items: center; gap: .45rem; margin: 0; color: #344054; font-size: .9rem; }
.sslb-own svg { flex: none; width: 18px; height: 18px; color: var(--gd); }
.sslb-link { background: none; border: 0; padding: .35rem 0; color: var(--gd); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sslb-fail { padding: 1rem 0; }

/* editor */
.sslb-backgrid { margin: -.3rem 0 .8rem; }
.sslb-ed { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.sslb-stage { position: sticky; top: 0; display: grid; gap: .8rem; }
.sslb-canvas { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; }
.sslb-canvas > svg { max-width: 100%; max-height: 240px; width: auto; height: auto; }
.sslb-canvas[data-bg="light"] { background-image: linear-gradient(45deg, #F3F5F4 25%, transparent 25%), linear-gradient(-45deg, #F3F5F4 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #F3F5F4 75%), linear-gradient(-45deg, transparent 75%, #F3F5F4 75%); background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }
.sslb-canvas[data-bg="header"] { padding: 18px; justify-content: center; }
.sslb-canvas.is-bad { opacity: .45; }
.sslb-hdr { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sslb-hdr-l svg { display: block; height: 42px; width: auto; max-width: 260px; }
.sslb-hdr-n { display: flex; gap: 10px; }
.sslb-hdr-n i { display: block; width: 34px; height: 7px; border-radius: 4px; background: #D9DFDB; }
.sslb-hdr-d { border-color: transparent; }
.sslb-hdr-d .sslb-hdr-n i { background: rgba(255,255,255,.3); }
.sslb-seg { display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.sslb-seg label { position: relative; }
.sslb-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sslb-seg span { display: block; padding: .45rem .95rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: #344054; }
.sslb-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.15); }
.sslb-seg input:focus-visible + span { outline: 3px solid rgba(59,170,74,.55); }
.sslb-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; color: #344054; font-size: .85rem; }
.sslb-tab { display: inline-flex; align-items: center; gap: .5rem; max-width: 220px; padding: .45rem .8rem; border-radius: 10px 10px 0 0; background: #EEF1EF; border: 1px solid var(--line); border-bottom: 0; font-size: .82rem; color: var(--ink); }
.sslb-tabt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sslb-fav32 { border-radius: 7px; }
.sslb-ctl fieldset { margin: 0 0 1rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.sslb-ctl fieldset:last-child { border-bottom: 0; }
.sslb-ctl legend { padding: 0; margin: 0 0 .55rem; font-weight: 800; font-size: .95rem; color: var(--ink); }
.sslb-ctl .sslb-f + .sslb-f { margin-top: .6rem; }
.sslb-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.sslb-chip { position: relative; }
.sslb-chip input, .sslb-ico input, .sslb-pal input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sslb-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .85rem; border: 1.5px solid #D0D8D3; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; white-space: pre; }
.sslb-fonts .sslb-chip span { font-size: 1.02rem; font-weight: 400; }
.sslb-chip input:checked + span, .sslb-ico input:checked + span, .sslb-pal input:checked + span { border-color: var(--g); background: var(--mint); box-shadow: 0 0 0 3px rgba(59,170,74,.18); }
.sslb-chip input:focus-visible + span, .sslb-ico input:focus-visible + span, .sslb-pal input:focus-visible + span { outline: 3px solid rgba(59,170,74,.6); outline-offset: 2px; }
.sslb-chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.sslb-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: .4rem; margin-bottom: .7rem; }
.sslb-ico { position: relative; }
.sslb-ico span { display: grid; place-items: center; height: 46px; border: 1.5px solid #D0D8D3; border-radius: 12px; background: #fff; color: var(--ink); }
.sslb-ico svg { width: 24px; height: 24px; }
.sslb-icofs.is-off .sslb-icons, .sslb-icofs.is-off .sslb-treat { opacity: .45; }
.sslb-icofs.is-off legend::after { content: " (not used in this layout)"; font-weight: 500; color: var(--muted); }
.sslb-check { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; font-size: .92rem; color: var(--ink); min-height: 32px; }
.sslb-check input { width: 20px; height: 20px; accent-color: var(--gd); }
.sslb-pals { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-bottom: .8rem; }
.sslb-pal { position: relative; display: grid; gap: .25rem; font-size: .78rem; color: #344054; text-align: center; }
.sslb-pal span { display: flex; height: 38px; border: 1.5px solid #D0D8D3; border-radius: 12px; overflow: hidden; padding: 4px; gap: 4px; background: #fff; }
.sslb-pal i { flex: 1; border-radius: 8px; }
.sslb-pal b { font-weight: 600; }
.sslb-cpick { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.sslb-hint { margin: .6rem 0 0; font-size: .88rem; color: #344054; }
.sslb-hint:empty { display: none; }
.sslb-actions { position: sticky; bottom: -1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1rem -1.5rem -1.5rem; padding: 1rem 1.5rem; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.sslb-actions .sslb-own { flex-basis: 100%; }
/* button look: see buttons.css */
@media (min-width: 900px) { .sslb-actions .sslb-own { flex-basis: auto; margin-left: auto; } }

@media (max-width: 860px) {
  .sslb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sslb-ed { grid-template-columns: minmax(0, 1fr); }
  .sslb-stage { position: static; }
}
@media (max-width: 560px) {
  .sslb { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .sslb-in { max-height: 100dvh; height: 100dvh; }
  .sslb-hd { padding: .9rem 1rem .8rem; }
  .sslb-hd h2 { font-size: 1.15rem; }
  .sslb-body { padding: 1rem 1rem 1.25rem; flex: 1 1 auto; }
  .sslb-fields { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .sslb-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .sslb-art { height: 132px; }
  .sslb-art svg { max-height: 96px; }
  .sslb-dk { height: 54px; }
  .sslb-canvas { min-height: 200px; padding: 18px; }
  .sslb-canvas > svg { max-height: 150px; }
  .sslb-hdr-n i { width: 18px; }
  .sslb-hdr-l svg { height: 34px; max-width: 200px; }
  .sslb-actions { margin: 1rem -1rem -1.25rem; padding: .8rem 1rem; bottom: -1.25rem; }
  .sslb-actions { flex-wrap: nowrap; gap: .6rem; }
  .sslb-actions .ss-btn { flex: 1 1 0; }
  .sslb-actions .sslb-use { flex-grow: 1.35; }
  .sslb-actions .sslb-own { display: none; } /* said in the header and the grid on small screens */
  .sslb-cpick { grid-template-columns: 1fr 1fr; }
}

/* Generator 1.4.8: badge separators control */
.sslb-chip .sslb-sep-g { width: 14px; height: 14px; margin-right: .4rem; flex: none; }
.sslb-note { margin: .45rem 0 0; font-size: .8rem; color: var(--muted); }
.sslb-check.is-off { opacity: .45; }

/* Generator 1.4.9: locked previews are watermarked canvases; unlock line */
.sslb-cv { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sslb-cvbox { display: flex; align-items: center; justify-content: center; }
.sslb-hdr-l .sslb-cv { max-height: 42px; width: auto; }
.sslb-lockline { align-items: flex-start; }
.sslb-lockline svg { margin-top: .1rem; }
.sslb-unlock { color: var(--gd); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Generator 1.4.19: inline in the Get started chat card (fills the card; the card already fits the screen). */
.has-sslb { position: relative; }
.sslb.sslb-inline { position: absolute; inset: 0; z-index: 30; width: auto; max-height: none; height: 100%; border-radius: inherit; box-shadow: none; display: flex; flex-direction: column; }
.sslb.sslb-inline .sslb-in { max-height: none; height: 100%; min-height: 0; }
.sslb.sslb-inline .sslb-body { flex: 1 1 auto; min-height: 0; }
@media (max-width: 560px) {
  .sslb.sslb-inline .sslb-hd { padding: .75rem .9rem .6rem; }
  .sslb.sslb-inline .sslb-hd h2 { font-size: 1.15rem; }
  .sslb.sslb-inline .sslb-sub { font-size: .875rem; }
  .sslb.sslb-inline .sslb-body { padding: .75rem .9rem 1rem; }
  .sslb.sslb-inline .sslb-fields { grid-template-columns: 1fr; gap: .6rem; }
  .sslb.sslb-inline input[type="text"] { font-size: 16px; }
}

/* Generator 1.4.20: phones (<=480px) stack the sticky action row: full-width primary "Use this logo" on top,
   secondary below. Labels never overflow (see ssg_btn_fit_css for the button-system rule). */
@media (max-width: 480px) {
  .sslb-actions, .sslb-inline .sslb-actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .5rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px)); }
  .sslb-actions .ss-btn, .sslb-inline .sslb-actions .ss-btn { flex: none; width: 100%; max-width: none; min-height: 48px; }
  .sslb-actions .sslb-use-x { display: none; }
  .sslb-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .sslb-foot .ss-btn { width: 100%; }
}
