.card-designer-panel h3{margin:0 0 8px;font-size:15px;font-weight:700;color:#1e293b}.card-designer-panel p{font-size:12px;line-height:1.6;color:#64748b;margin:8px 0 16px}.card-designer-panel>label,.card-control-grid>label{display:block;font-size:12px;font-weight:600;color:#334155;margin:10px 0}.card-designer-panel select,.card-designer-panel textarea,.card-designer-panel input[type=text]{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;background:#fff;color:#1e293b;font:inherit;margin-top:6px}.card-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-control-grid input[type=range]{display:block;width:100%;margin-top:12px;accent-color:#7c3aed}.card-control-grid output{float:right;color:#7c3aed;font-weight:700}.card-designer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.card-designer-actions button,#card-export-button{min-height:40px;padding:9px 14px;border:1px solid #ddd6fe;border-radius:10px;background:#f5f3ff;color:#6d28d9;font-size:12px;font-weight:700}.card-export-panel{margin-top:16px;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}#card-export-button{width:100%;background:#7c3aed;color:white}#card-export-button:disabled{opacity:.6;cursor:wait}.card-designer-panel .invitation-color-field{display:grid;grid-template-columns:44px 1fr}.card-designer-panel .invitation-color-field span{grid-column:1/-1}.card-designer-panel .invitation-color-field input[type=color]{width:40px;height:40px;margin-top:6px}.card-designer-panel .invitation-color-field input[type=text]{min-width:0}
.card-invitation-preview{font-family:var(--card-body-font,Arial)}.card-invitation-preview [data-card-element]{position:relative}.card-invitation-preview .physical-card-hosts{font-family:var(--card-heading-font,Georgia);font-size:calc(30px * var(--card-heading-scale,1))}.card-invitation-preview .physical-card-guest{font-family:var(--card-heading-font,Georgia);font-size:calc(20px * var(--card-heading-scale,1))}.card-invitation-preview .physical-card-monogram,.card-invitation-preview .card-inside-intro h2,.card-invitation-preview .card-inside-couple-grid article strong,.card-invitation-preview .card-inside-event strong,.card-invitation-preview .card-inside-closing strong{font-family:var(--card-heading-font,Georgia)}.card-invitation-preview .physical-card-cover-text{font-size:calc(9px * var(--card-body-scale,1))}.card-invitation-preview .physical-card-eyebrow,.card-invitation-preview .physical-card-to{font-size:calc(9px * var(--card-body-scale,1))}.card-invitation-preview .card-inside-intro>p:last-child{font-size:calc(8px * var(--card-body-scale,1))}.card-invitation-preview .card-inside-event span,.card-invitation-preview .card-inside-event small,.card-invitation-preview .card-inside-couple-grid article small{font-size:calc(6px * var(--card-body-scale,1))}
.card-invitation-preview .card-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.card-invitation-preview .card-cover-overlay{position:absolute;inset:0;background:var(--card-background);z-index:0}.card-invitation-preview .physical-card-decoration{z-index:1}.card-word-highlight{background:var(--card-highlight,#f4d58d);color:var(--card-highlight-text,#2f251e);padding:0 .08em;border-radius:.1em;box-decoration-break:clone}.card-invitation-preview[data-highlight-style=color] .card-word-highlight{background:transparent}.card-invitation-preview[data-highlight-style=underline] .card-word-highlight{background:transparent;text-decoration:underline;text-decoration-color:var(--card-highlight);text-underline-offset:.15em}.card-drag-enabled [data-card-element]{cursor:move;touch-action:none;user-select:none}.card-drag-enabled [data-card-element].is-selected{outline:1px dashed #7c3aed;outline-offset:3px}.card-drag-enabled [data-card-element]:hover{outline:1px dashed #7c3aed}.card-invitation-preview .card-cover-image~.physical-card-content{z-index:2}
html[data-app-mode=dark] .card-designer-panel h3{color:#e2e8f0}html[data-app-mode=dark] .card-designer-panel label{color:#cbd5e1}html[data-app-mode=dark] .card-designer-panel select,html[data-app-mode=dark] .card-designer-panel input[type=text],html[data-app-mode=dark] .card-designer-panel textarea,html[data-app-mode=dark] .card-export-panel{background:#0f172a;border-color:#334155;color:#e2e8f0}
@media(max-width:640px){.card-control-grid{grid-template-columns:1fr}.card-invitation-preview .physical-card-hosts{font-size:calc(25px * var(--card-heading-scale,1))}.card-invitation-preview.orientation-landscape .physical-card-hosts{font-size:calc(20px * var(--card-heading-scale,1))}}
.card-invitation-preview .card-inside-intro h2{font-size:calc(20px * var(--card-heading-scale,1))}.card-invitation-preview .card-inside-couple-grid article strong{font-size:calc(13px * var(--card-heading-scale,1))}.card-invitation-preview .card-inside-event strong{font-size:calc(11px * var(--card-heading-scale,1))}.card-invitation-preview .card-inside-closing strong{font-size:calc(9px * var(--card-heading-scale,1))}.card-invitation-preview .physical-card-category{font-size:calc(8px * var(--card-body-scale,1))}.card-invitation-preview .card-inside-quote{font-family:var(--card-heading-font,Georgia);font-size:calc(7px * var(--card-body-scale,1))}.card-invitation-preview .card-inside-gift span,.card-invitation-preview .card-inside-closing p,.card-invitation-preview .physical-card-qr-copy span,.card-invitation-preview .physical-card-qr-copy small{font-size:calc(6px * var(--card-body-scale,1))}
/* v2.19.0: selection highlighting and preview-only alignment guides */
.physical-card .card-word-highlight{display:inline;font:inherit;letter-spacing:inherit;padding:0 .08em;border-radius:.1em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.physical-card[data-highlight-style=color] .card-word-highlight{color:var(--card-highlight);background:transparent}.physical-card[data-highlight-style=underline] .card-word-highlight{color:inherit;background:transparent;text-decoration:underline;text-decoration-color:var(--card-highlight)}#card-highlight-status[data-state=success]{color:#047857;font-weight:600}#card-font-progress{display:block;width:100%;height:10px;margin-top:14px;accent-color:#7c3aed}#card-font-progress[hidden],#card-retry-font-button[hidden]{display:none!important}.card-designer-actions button:disabled{opacity:.55;cursor:wait}.card-secondary-button{min-height:38px;padding:8px 12px;border:1px solid #ddd6fe;border-radius:9px;color:#6d28d9;background:#f5f3ff;font-size:12px;font-weight:600}#card-position-transfer{margin:12px 0;padding:10px;border:1px solid #e2e8f0;border-radius:10px;font-size:12px}#card-position-transfer summary{cursor:pointer;font-weight:600}.card-guides-legend{font-size:11px;line-height:1.5;color:#64748b;margin:5px 0}
.card-center-guides{position:absolute;inset:0;z-index:20;pointer-events:none}.card-center-guides[hidden]{display:none!important}.card-center-guides i{display:block;position:absolute;pointer-events:none}.card-center-guides .card-guide-x{left:0;right:0;top:50%;height:1px;background:repeating-linear-gradient(90deg,#c026d3 0 5px,transparent 5px 9px)}.card-center-guides .card-guide-y{top:0;bottom:0;left:50%;width:1px;background:repeating-linear-gradient(0deg,#c026d3 0 5px,transparent 5px 9px)}.card-center-guides .card-center-point{left:50%;top:50%;width:9px;height:9px;border-radius:50%;border:2px solid #c026d3;background:white;transform:translate(-50%,-50%)}.card-center-guides .card-element-center-point{width:7px;height:7px;border-radius:50%;border:1px solid white;background:#2563eb;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #2563eb}.card-center-guides .card-element-center-point[hidden]{display:none!important}
@media print{.card-center-guides{display:none!important}}
.card-designer-panel [hidden]{display:none!important}
