.card-studio .editor-help{position:relative;color:#856249;font-size:12px;flex-shrink:0}
.card-studio .editor-help summary{cursor:pointer;list-style:none;border:1px solid #ead9c4;background:#fffaf1;padding:10px 14px;border-radius:12px;min-height:44px;display:flex;align-items:center;gap:9px;font-weight:750}
.card-studio .editor-help summary::-webkit-details-marker{display:none}
.card-studio .editor-help summary:focus-visible{outline:3px solid var(--brand-ring);outline-offset:2px}
.card-studio .editor-help-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:12;width:150px;padding:6px;background:#fffdf8;border:1px solid #ead9c4;border-radius:15px;box-shadow:0 10px 30px #5b412729}
.card-studio .editor-help-menu button{width:100%;background:none;border:0;min-height:44px;text-align:left;font-size:13px}
.card-studio #supportDialog{max-width:460px;padding:26px;border-radius:25px;background:#fffaf1;border:2px solid #fff;overflow:auto}
.card-studio #supportDialog::backdrop{background:#46332277;backdrop-filter:blur(4px)}
.card-studio #closeSupport{position:absolute;right:13px;top:12px;font-size:25px;border-radius:12px;background:#fff3e2;border:1px solid #ead9c4;color:#94775f}
.card-studio .support-heading{display:flex;gap:13px;align-items:center;margin:18px 0 14px;padding-right:8px}
.card-studio .support-heading h2{font-size:22px;color:#4d3a2e;margin:0;line-height:1.5}
.card-studio .support-face{background:#68af7f;box-shadow:inset 0 2px #fff6;border-radius:18px;width:52px;height:52px;color:white;font-weight:900;display:grid;place-items:center;flex-shrink:0;font-size:14px}
.card-studio #supportDialog>p{font-size:14px;color:#806756;line-height:1.85;margin:0 0 22px}
.card-studio .line-button{display:flex;justify-content:center;align-items:center;gap:20px;background:#35b96e;color:white;border-radius:15px;min-height:52px;font-size:16px;font-weight:900;box-shadow:0 7px 14px #35b96e26;text-decoration:none}
.card-studio .line-button:hover{background:#249d5a}.card-studio .line-button span{font-size:26px}
.card-studio .object-type-label{font-size:12px;font-weight:800;color:#a96549;margin:0 0 14px}
.card-studio .code-live-preview:empty{display:none}
.card-studio .code-live-preview{background:white;border:1px solid #ead9c4;border-radius:13px;padding:10px;display:flex;justify-content:center;margin:10px 0}
.card-studio .code-live-preview canvas{max-width:100%;max-height:130px;object-fit:contain}
.card-studio .shape-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.card-studio .shape-options button{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;min-height:85px;background:#fffaf1;border-color:#ead9c4;border-radius:14px;padding:12px 6px;color:#856249}
.card-studio .shape-icon{width:38px;height:24px;background:#dd785d;border:0;display:block}
.card-studio .shape-icon.square{width:27px;height:27px}.card-studio .shape-icon.rounded{border-radius:7px}
.card-studio .shape-icon.circle{width:28px;height:28px;border-radius:50%}.card-studio .shape-icon.ellipse{border-radius:50%}
.card-studio .shape-icon.triangle{width:32px;height:28px;clip-path:polygon(50% 0,100% 100%,0 100%)}
.card-studio .shape-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 16px}
.card-studio .shape-swatches button{height:40px;min-height:40px;border:1px solid #ddc9b1;border-radius:10px;background:var(--swatch);box-shadow:inset 0 0 0 4px #fff8;padding:0}
.card-studio .shape-swatches button:hover{background:var(--swatch);outline:2px solid #dd785d;outline-offset:1px}
.card-studio .line-options{display:grid;gap:8px}.card-studio .line-options button{font-size:12px;min-height:44px;background:#fffaf1}
.card-studio #panelContent h3{font-size:14px}
.card-studio #panelContent input[type=text][id$=Hex]{font-family:ui-monospace,monospace;font-size:12px}
@media(max-width:760px){
 .card-studio .editor-header{gap:6px}
 .card-studio .editor-help summary{font-size:11px;min-height:40px;padding:8px 10px;gap:5px}
 .card-studio .editor-header .primary{gap:7px;padding:8px 10px}
 .card-studio.editing .brand-names strong{font-size:11px}.card-studio.editing .brand-mark{width:30px;height:30px}
 .card-studio .inspector.open{max-height:58dvh;overflow:auto;overscroll-behavior:contain}
 .card-studio .inspector.open .panel-heading{position:sticky;top:0;z-index:3}
 .card-studio .shape-options{grid-template-columns:repeat(3,1fr)}
 .card-studio .shape-swatches{grid-template-columns:repeat(8,1fr);gap:5px}
 .card-studio .shape-swatches button{height:40px;min-height:40px}
 .card-studio #supportDialog{width:calc(100% - 28px);padding:22px 20px}
 .card-studio .support-heading h2{font-size:19px}.card-studio #supportDialog>p{font-size:13px}
}
@media(max-width:360px){.card-studio.editing .brand-mark{display:none}.card-studio .editor-help summary{padding:8px}.card-studio .shape-swatches{grid-template-columns:repeat(4,1fr)}}
