/* Bubble: a compact workspace, using 3dop's existing Manrope and saturated palette. */
.bubble-page{padding-bottom:80px;color:#302441}.bubble-heading{padding:25px 0 32px}.bubble-heading .kicker{margin-bottom:14px;color:#695b79}.bubble-heading h1{font-size:clamp(38px,4.4vw,66px);line-height:1.12;letter-spacing:-.05em;margin:0 0 16px}.bubble-heading h1 em{font-style:normal;color:#7424ee}.bubble-heading p{font-size:15px;line-height:1.6;max-width:590px;margin:0;color:#695b79}
.bubble-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);align-items:stretch;border:1px solid #e4d9ed;border-radius:24px;overflow:hidden;background:white}.bubble-preview{min-width:0;display:flex;flex-direction:column;background:#e9e1f5;padding:24px 30px 18px;position:relative}.bubble-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:16px;font-weight:750}.bubble-preview-head button{font-size:12px;font-weight:500;padding:10px 0 10px 12px;color:#655276;min-height:44px}.bubble-preview-head button:hover{color:#7424ee}.bubble-preview-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;font-size:12px}.bubble-preview-footer p{color:#655276;margin:0;line-height:1.55}.bubble-preview-footer output{white-space:nowrap;font-weight:700}.bubble-preview-spec{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid #d4c5e5;margin-top:20px;padding-top:16px;font-size:11px;line-height:1.5}.bubble-preview-spec span{color:#695b79}
#bubble-stage{height:280px;min-height:280px;margin:auto 0;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;align-items:center;column-gap:calc(var(--letter-size,100px)*.4);row-gap:calc(var(--letter-size,100px)*.3)}.bubble-word{display:flex;gap:calc(var(--letter-size,100px)*.1);align-items:center;flex:none}.bubble-glyph,.bubble-figure-preview{width:calc(var(--letter-size)*var(--glyph-ratio,1));height:var(--letter-size);padding:0;flex:none;background:none;border:0;filter:drop-shadow(1px 5px 3px #39234e1a);transition:transform .18s}.bubble-glyph svg,.bubble-figure-preview svg{display:block;width:100%;height:100%}.bubble-glyph:hover,.bubble-figure-preview:hover{transform:translateY(-4px)}.bubble-glyph:focus-visible,.bubble-figure-preview:focus-visible{outline:2px solid #7424ee;outline-offset:4px;border-radius:10px}.bubble-unsupported{font-size:var(--letter-size);line-height:1;width:calc(var(--letter-size)*.8);color:#a42e4b;border-bottom:2px dashed currentColor}.bubble-empty{font-size:22px;letter-spacing:-.03em;font-weight:650;text-align:center;color:#695b79}.bubble-empty span{display:block;font-size:13px;font-weight:400;margin-top:10px;letter-spacing:0}
.bubble-controls{min-width:0;display:flex;flex-direction:column;padding:20px 26px 22px}.bubble-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-bottom:1px solid #e4d9ed}.bubble-tabs button{display:flex;flex-direction:column;gap:5px;text-align:left;padding:9px 8px 14px;font-size:12px;font-weight:700;color:#71627f;border-bottom:3px solid transparent;border-radius:0}.bubble-tabs button span{font-size:10px;font-weight:500}.bubble-tabs button[aria-selected=true]{border-color:#7424ee;color:#7424ee}.bubble-tabs button:hover{background:#f7f2fc}.bubble-panels{padding-top:22px;min-height:324px}.bubble-panels h2{font-size:20px;line-height:1.3;letter-spacing:-.03em;margin:0 0 10px}.bubble-panels p{font-size:13px;color:#71627f;line-height:1.65;margin:12px 0}.bubble-controls label{display:block;font-size:13px;font-weight:700;min-width:0}.bubble-controls input:not([type=color]),.bubble-controls select{display:block;width:100%;min-width:0;padding:12px 14px;border:1px solid #d9cde5;border-radius:10px;background:white;min-height:48px}.bubble-controls .bubble-label{font-size:20px;letter-spacing:-.03em}.bubble-label input{font-size:23px;letter-spacing:0;font-weight:650;margin-top:12px}.bubble-input-meta{display:flex;justify-content:space-between;margin-top:8px;font-size:10px;color:#71627f}.bubble-symbols{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.bubble-symbols button{width:34px;height:36px;border-radius:8px;border:1px solid #dfd3e9;font-size:18px;color:#39234e}.bubble-symbols button:hover{background:#d3ff36}.bubble-panels .bubble-note{font-size:12px;margin-top:18px}.bubble-size-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.bubble-size-fields input{margin-top:8px}.bubble-size-fields label span{display:block;margin-top:8px;font-weight:400;font-size:11px;color:#71627f}.bubble-palette-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.bubble-palette-heading h2{margin:0}.bubble-palette-heading label{display:flex;align-items:center;gap:8px;font-size:12px}.bubble-palette-heading select{width:66px;min-height:40px;padding:8px 28px 8px 10px}.bubble-palette{display:flex;gap:15px;margin:24px 0 18px;flex-wrap:wrap}.bubble-palette label{display:flex;flex-direction:column;align-items:center;gap:7px}.bubble-palette input[type=color]{appearance:none;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}.bubble-palette input::-webkit-color-swatch-wrapper{padding:0}.bubble-palette input::-webkit-color-swatch{border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #cdbce2}.bubble-palette input::-moz-color-swatch{border:2px solid white;border-radius:50%}.bubble-palette span{font-size:10px}.bubble-controls .text-link{font-size:12px;color:#7424ee;padding:0;min-height:36px}
.bubble-shape-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px}.bubble-shape-buttons button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 2px;background:#f7f2fc;border:1px solid transparent;border-radius:10px;font-size:9px;color:#3b284f}.bubble-shape-buttons button:hover{border-color:#7424ee}.bubble-shape-buttons svg{width:100%;height:38px;max-width:48px}#bubble-parts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}#bubble-parts>div{display:flex;align-items:center;gap:5px;border-radius:7px;background:#f0e9f8;padding:0 4px 0 8px;font-size:10px}#bubble-parts button{width:28px;height:30px;padding:0;font-size:20px}.bubble-order{border-top:1px solid #e4d9ed;margin-top:auto;padding-top:18px}.bubble-price{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.bubble-price strong{font-size:19px;letter-spacing:-.03em}.bubble-price span{font-size:11px;color:#71627f}#bubble-add{width:100%;background:#d3ff36;color:#302441;min-height:50px;font-size:13px}#bubble-add:hover{background:#c2f51c}.bubble-order-note{font-size:10px;line-height:1.55;color:#71627f;margin:12px 0 0}#bubble-status{font-size:12px;color:#655276;line-height:1.5;margin:0 0 12px}#bubble-status:empty{display:none}#bubble-status[data-error=true],#bubble-text-error{color:#a42e4b}#bubble-text-error:empty{display:none}#bubble-text[aria-invalid=true]{border-color:#a42e4b}
.bubble-examples{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:28px;padding:70px 0;align-items:center}.bubble-examples figure{margin:0}.bubble-examples img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:18px}.bubble-examples figcaption{font-size:11px;color:#71627f;margin-top:12px;line-height:1.5}.bubble-examples h2{font-size:36px;line-height:1.15}.bubble-examples p{font-size:13px;line-height:1.7;color:#655276;max-width:300px}.bubble-examples .text-link{color:#7424ee}.bubble-help{display:grid;grid-template-columns:1fr 1.8fr;column-gap:70px;border-top:1px solid #e4d9ed;padding-top:34px}.bubble-help h2{grid-row:1/4;font-size:28px;line-height:1.25}.bubble-help details{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #e4d9ed}.bubble-help summary{font-size:14px;font-weight:700;line-height:1.5}.bubble-help p{font-size:13px;color:#695b79;margin:14px 0 0}
@media(min-width:1500px){.bubble-controls{padding:24px 34px}.bubble-panels{min-height:334px}.bubble-preview{padding:30px 40px 22px}#bubble-stage{height:310px;min-height:310px}}
@media(max-width:900px){.bubble-layout{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}.bubble-controls{padding:18px}.bubble-preview{padding:20px}.bubble-preview-footer{align-items:start;flex-direction:column;gap:10px}.bubble-preview-spec{flex-direction:column}.bubble-examples{gap:18px}.bubble-examples h2{font-size:28px}.bubble-help{column-gap:30px}}
@media(max-width:720px){.bubble-heading{padding:18px 0 24px}.bubble-heading h1{font-size:37px;max-width:340px}.bubble-heading p{font-size:13px;max-width:400px}.bubble-layout{grid-template-columns:1fr;border-radius:18px}.bubble-preview{padding:16px 20px}.bubble-preview-head{font-size:14px}#bubble-stage{height:210px;min-height:210px;margin:10px 0}.bubble-preview-footer{flex-direction:row;align-items:end;gap:10px;font-size:10px}.bubble-preview-spec{flex-direction:row;font-size:9px;margin-top:14px;padding-top:12px}.bubble-preview-spec span{display:none}.bubble-controls{padding:14px 18px 20px}.bubble-tabs button{font-size:12px}.bubble-panels{min-height:310px}.bubble-shape-buttons{gap:6px}.bubble-shape-buttons button{font-size:9px}.bubble-examples{grid-template-columns:1fr 1fr;padding:45px 0;gap:18px 12px}.bubble-examples-copy{grid-column:1/-1}.bubble-examples h2{font-size:30px;margin-bottom:15px}.bubble-examples h2 br{display:none}.bubble-examples p{max-width:400px}.bubble-examples img{border-radius:12px}.bubble-help{display:block;padding-top:25px}.bubble-help h2{font-size:26px}.bubble-page{padding-bottom:45px}.bubble-empty{font-size:18px}.bubble-empty span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bubble-glyph,.bubble-figure-preview{transition:none}}

/* Distinguish printable punctuation from decorative figures. */
.bubble-symbol-picker{border-top:1px solid #e4d9ed;border-bottom:1px solid #e4d9ed;margin:18px 0 14px;padding:12px 0}
.bubble-symbol-picker summary{font-size:13px;font-weight:700;line-height:1.7;cursor:pointer}
.bubble-symbol-picker summary>span{color:#7424ee;font-size:15px;margin-left:10px;white-space:nowrap}
.bubble-symbol-picker .bubble-symbols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 4px}
.bubble-symbol-picker .bubble-symbols button{width:auto;height:auto;min-height:76px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;padding:10px 3px;background:#f7f2fc;border-color:transparent;border-radius:10px}
.bubble-symbol-picker .bubble-symbols button:hover{border-color:#7424ee;background:#eee4fa}
.bubble-symbols svg{width:100%;height:32px;max-width:40px}
.bubble-symbols button span{font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.bubble-figure-shortcut{display:flex;width:100%;align-items:center;gap:14px;padding:12px;text-align:left;background:#f7f2fc;border:1px solid transparent;border-radius:10px}
.bubble-figure-shortcut:hover{border-color:#d7c2f0;background:#f0e8fa}
.bubble-shortcut-art{display:flex;gap:5px;flex:none}.bubble-shortcut-art svg{width:34px;height:34px}
.bubble-figure-shortcut strong{display:block;font-size:12px;line-height:1.4}
.bubble-figure-shortcut small{display:block;font-size:11px;line-height:1.4;color:#7424ee;margin-top:4px}
@media(max-width:720px){.bubble-symbol-picker .bubble-symbols{grid-template-columns:repeat(4,minmax(0,1fr))}.bubble-symbol-picker summary{font-size:12px}.bubble-symbol-picker summary>span{font-size:13px;margin-left:6px}}

/* Direct color assignment: choose a part, then a named swatch. */
.bubble-color-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.bubble-color-heading h2{margin:0}.bubble-color-heading button{font-size:11px;color:#7424ee;min-height:34px;padding:6px 0 6px 10px}
.bubble-color-target{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f5effb;border-radius:10px;min-height:66px}
.bubble-color-target strong{display:block;font-size:13px;line-height:1.4}.bubble-color-target span:not(.bubble-color-target-art){display:block;font-size:11px;line-height:1.5;color:#695b79;margin-top:4px}
.bubble-color-target-art{width:40px;height:40px;flex:none}.bubble-color-target-art svg{width:100%;height:100%;display:block}
#bubble-panel-colors .bubble-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 7px;margin:20px 0 16px}
.bubble-palette>button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:3px 0;background:none;min-width:0;border:0}
.bubble-palette>button .bubble-swatch{width:34px;height:34px;border:1px solid #30244126;border-radius:50%;box-shadow:0 0 0 3px white;position:relative}
.bubble-palette>button[aria-pressed=true] .bubble-swatch{box-shadow:0 0 0 3px white,0 0 0 5px #7424ee}
.bubble-palette>button:hover .bubble-swatch{transform:scale(1.08)}
.bubble-palette>button>span:last-child{font-size:9px;color:#53435f;line-height:1.3}
.bubble-color-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bubble-controls .bubble-custom-color{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:500;cursor:pointer}
.bubble-custom-color input[type=color]{width:28px;height:28px;border:1px solid #d5c6e8;background:white;padding:2px;border-radius:7px;cursor:pointer}
#bubble-color-all{font-size:11px;color:#7424ee;padding:8px 0;min-height:36px;text-align:left}
#bubble-color-feedback{font-size:11px;margin:10px 0;color:#695b79}#bubble-color-feedback:empty{display:none}
.bubble-schemes{border-top:1px solid #e4d9ed;margin-top:18px;padding-top:15px}.bubble-schemes h3{font-size:11px;font-weight:650;margin:0 0 10px}
.bubble-schemes>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}
.bubble-schemes button{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;border:1px solid #e4d9ed;border-radius:9px;padding:10px 6px;font-size:10px;min-height:42px}
.bubble-schemes button:hover{background:#f5effb;border-color:#7424ee}.bubble-scheme-dots{display:flex;padding-left:3px}.bubble-scheme-dots i{display:block;width:16px;height:16px;border:1px solid #fff;border-radius:50%;margin-left:-3px}
.bubble-glyph[aria-pressed=true],.bubble-figure-preview[aria-pressed=true]{border-radius:12px;background:#ffffff70;box-shadow:0 0 0 2px #7424ee,0 0 0 6px #ffffff70}
@media(max-width:900px){#bubble-panel-colors .bubble-palette{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px}.bubble-palette>button>span:last-child{font-size:10px}}
