/* Color-only service opt-in. Geometry/type come from pre-polish source styles.
   The explore link is deliberately untouched, including its mobile display rule. */
:root{--action-primary:linear-gradient(115deg,#d9c9ec 0%,#c2c0df 62%,#b9d2d6 100%);--action-secondary:linear-gradient(115deg,#25233e 0%,#30304c 65%,#293a48 100%)}
html body .service-action:not(.landing-top-reference-secondary)[data-variant=primary]{background:var(--action-primary)!important;color:#211b31!important;border-color:#a99bbb!important}
html body .service-action:not(.landing-top-reference-secondary)[data-variant=secondary]{background:var(--action-secondary)!important;color:#eee7f7!important;border-color:#897b9e!important}
html body .service-action[data-variant=ghost]{color:#eee7f7}
html body .service-action[data-danger=true]{color:#f1c8ce;border-color:#9d737b}
html body .service-action:focus-visible{outline:2px solid #b9ded5;outline-offset:4px}
html body .service-action:disabled,html body .service-action[aria-disabled=true]{opacity:.45;cursor:not-allowed}
html body .service-action[aria-busy=true]{cursor:progress}
@media(hover:hover) and (pointer:fine){html body .service-action:not(.landing-top-reference-secondary)[data-variant=primary]:not(:disabled):hover{background:linear-gradient(115deg,#e1d4ef,#cecae7 62%,#c6dbde)!important}html body .service-action:not(.landing-top-reference-secondary)[data-variant=secondary]:not(:disabled):hover{background:linear-gradient(115deg,#302c48,#3a3656 65%,#324652)!important}}
html body .paper .service-action{color:#3b284b}
/* Click/tap screen transitions (2026-12-01). Script focus moves to headings (tabindex=-1) for screen readers; those
   are not tab stops, so they never draw a ring. After a mouse/touch press (html[data-input=pointer], set by
   ui/actions.mjs) script-moved focus draws no ring either; any navigation key switches back to keyboard and the
   focus-visible rings above return unchanged. Text fields keep their own focus style. No grey tap flash on mobile. */
html{-webkit-tap-highlight-color:transparent}
html [tabindex="-1"]:focus{outline:none}
html[data-input=pointer] :is(a,button,summary,[tabindex]):focus-visible{outline:none!important}
/* Entry guidance: the full-width "next line" button never shows a text selection or the iOS callout on fast taps. */
#advance{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
