/* V3 paints source bodies unchanged; a thin glyph outline keeps labels readable. */
[data-natural-buttons="true"] button[data-button-material-role] {
 --button-art:var(--button-hero-art);--button-cap:var(--button-hero-cap);
 --button-art-height:56px;--button-end:calc(var(--button-art-height)*var(--button-cap));
 position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:7px;
 box-sizing:border-box;min-height:56px;min-width:calc(var(--button-end)*2 + 12ch);
 padding:12px calc(var(--button-end) + 5px);border:0;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;color:#fff!important;
 font:650 14px/1.3 system-ui,sans-serif;text-align:center;filter:none!important;transform:none!important;
 -webkit-text-stroke:2px #031118;paint-order:stroke fill;text-shadow:none!important;overflow-wrap:normal;
 touch-action:manipulation;cursor:pointer;
}
[data-natural-buttons="true"] button[data-button-material-role="confirm"] {--button-art:var(--button-confirm-art);--button-cap:var(--button-confirm-cap);--button-art-height:52px;min-height:52px;}
[data-natural-buttons="true"] button[data-button-material-role="create"] {--button-art:var(--button-create-art);--button-cap:var(--button-create-cap);--button-art-height:52px;min-height:52px;}
[data-natural-buttons="true"] button[data-button-material-role="gentle"] {--button-art:var(--button-gentle-art);--button-cap:var(--button-gentle-cap);--button-art-height:40px;min-height:44px;font-size:13px;padding-block:8px;}
[data-natural-buttons="true"] button[data-button-material-role]::before {
 content:"";position:absolute;inset-inline:0;top:50%;height:var(--button-art-height);
 transform:translateY(-50%);z-index:-1;pointer-events:none;
 border-image-source:var(--button-art);border-image-slice:0 18% fill;
 border-image-width:0 var(--button-end);border-image-repeat:stretch;
}
[data-natural-buttons="true"] [data-button-material-role] svg {width:17px;height:17px;flex-shrink:0;}
[data-natural-buttons="true"] [data-button-material-role]:hover:not(:disabled):not([aria-disabled="true"])::before {filter:brightness(1.04);}
[data-natural-buttons="true"] [data-button-material-role]:is(:active,[data-preview-state="pressed"]):not(:disabled):not([aria-disabled="true"])::before {transform:translateY(calc(-50% + 1px));filter:brightness(.9);}
[data-natural-buttons="true"] button[data-button-material-role]:is(:focus-visible,[data-preview-state="focused"]) {outline:3px solid #fff!important;outline-offset:2px;box-shadow:0 0 0 7px #10131d!important;}
[data-natural-buttons="true"] [data-button-material-role]:is([aria-pressed="true"],[aria-selected="true"],.active) {outline:2px solid #f8e5a6;outline-offset:1px;}
[data-natural-buttons="true"] [data-button-material-role]:is([aria-pressed="true"],[aria-selected="true"],.active)::after {content:"";position:absolute;bottom:4px;left:40%;right:40%;height:2px;background:#f8e5a6;pointer-events:none;}
[data-natural-buttons="true"] [data-button-material-role]:is(:disabled,[aria-disabled="true"]) {cursor:not-allowed;opacity:.6;}
[data-natural-buttons="true"] [data-button-material-role]:is(:disabled,[aria-disabled="true"])::before {filter:grayscale(.7);}
[data-natural-buttons="true"] [data-button-material-role][aria-busy="true"] {cursor:progress;}
@media(prefers-reduced-motion:reduce) {
 [data-natural-buttons="true"] [data-button-material-role] {transition:none!important;}
 [data-natural-buttons="true"] [data-button-material-role]::before {transform:translateY(-50%)!important;}
}
@media(forced-colors:active) {
 [data-natural-buttons="true"] button[data-button-material-role] {border:2px solid ButtonText;background:ButtonFace!important;color:ButtonText!important;text-shadow:none;-webkit-text-stroke:0;}
 [data-natural-buttons="true"] [data-button-material-role]::before {display:none;}
 [data-natural-buttons="true"] button[data-button-material-role]:focus-visible {outline-color:Highlight!important;box-shadow:none!important;}
}
