.copy-preset-controls{margin:12px 0;padding:14px 16px;border:1px solid #ead3da;border-radius:10px;background:#fff9fb;color:#563b45;font-family:inherit;box-sizing:border-box}
.copy-preset-controls[hidden]{display:none!important}
.copy-preset-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin-bottom:10px}
.copy-preset-head strong{font-size:15px;color:#84273f}
.copy-preset-saved{font-size:12px;color:#826f77;line-height:1.6}
.copy-preset-buttons{display:flex;flex-wrap:wrap;gap:8px}
.copy-preset-buttons button{min-height:40px;padding:8px 12px;border:1px solid #d8a7b5;border-radius:7px;background:#fff;color:#8f2943;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}
.copy-preset-buttons button[data-copy-preset-action=save]{background:#aa3150;border-color:#aa3150;color:white}
.copy-preset-buttons button:disabled{opacity:.48;cursor:not-allowed}
.copy-preset-buttons button:focus-visible,.copy-preset-auto input:focus-visible{outline:2px solid #84273f;outline-offset:3px}
.copy-preset-auto{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:12px 0 0;font-size:13px;line-height:1.6;cursor:pointer}
.copy-preset-auto input{margin:0;width:17px;height:17px;accent-color:#aa3150;flex:none}
.copy-preset-note{margin:8px 0 0;font-size:12px;line-height:1.8;color:#826f77}
.copy-preset-status{margin:7px 0 0;font-size:13px;line-height:1.7;color:#6d3a4a}
.copy-preset-status:empty{display:none}
.copy-preset-status.is-error{color:#b42335}
[data-copy-token][contenteditable=false]{cursor:default}
@media(max-width:600px){.copy-preset-controls{padding:12px}.copy-preset-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.copy-preset-buttons button{width:100%;min-height:44px;padding:8px 4px}.copy-preset-head{gap:4px 10px}.copy-preset-note{font-size:12px}}

/* Generated text runs and numeric placeholders retain the original text
   layout, including anonymous flex-item grouping and legacy span rules. */
.copy-text-run,.copy-number-token{display:inline!important;font:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;color:inherit!important;text-transform:inherit!important;white-space:inherit!important;position:static!important;float:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;vertical-align:baseline!important;text-align:inherit!important;flex:0 1 auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}
.copy-text-run::before,.copy-text-run::after,.copy-number-token::before,.copy-number-token::after{content:none!important}
