/* Shared controls, including the project action in the navigation drawer. */
html:root body .ml-button.ml-button,
html:root body .ml-theme-toggle.ml-theme-toggle,
html:root body .ml-drawer__contact.ml-drawer__contact{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 box-sizing:border-box;min-height:40px;max-width:100%;padding:9px 18px;
 border:1px solid #AB936E;border-radius:999px;background:#80653C;color:#FFFFFF;
 font-family:Manrope,Arial,sans-serif;font-size:11px;font-weight:600;line-height:1.4;
 letter-spacing:.04em;text-transform:uppercase;text-align:center;text-decoration:none;
 white-space:normal;vertical-align:middle;cursor:pointer;box-shadow:none;
 transition:background-color .2s,color .2s,border-color .2s,transform 160ms cubic-bezier(.23,1,.32,1);
}
@media(hover:hover) and (pointer:fine){
html:root body .ml-button.ml-button:hover,
html:root body .ml-theme-toggle.ml-theme-toggle:hover,
html:root body .ml-drawer__contact.ml-drawer__contact:hover{
 background:#6C532E;color:#FFFFFF;border-color:#A58B61;transform:none;box-shadow:none;
}}
html:root body .ml-button.ml-button:focus-visible,
html:root body .ml-theme-toggle.ml-theme-toggle:focus-visible,
html:root body .ml-drawer__contact.ml-drawer__contact:focus-visible{
 outline:2px solid #9A7D4F;outline-offset:4px;
}
/* Filters use the same shape and typography, with a clear selected state. */
html:root body .ml-button.ml-button[aria-pressed=false]{background:transparent;color:inherit;border-color:#AB936E}
@media(hover:hover) and (pointer:fine){html:root body .ml-button.ml-button[aria-pressed=false]:hover{background:#80653C;color:#FFFFFF;border-color:#AB936E}}
html:root body .ml-button.ml-button[aria-pressed=true]{background:#80653C;color:#FFFFFF;border-color:#AB936E}
html:root body .ml-button.ml-button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){html:root body .ml-button.ml-button,html:root body .ml-theme-toggle.ml-theme-toggle,
html:root body .ml-drawer__contact.ml-drawer__contact{min-height:44px;padding:10px 16px;font-size:10px}}
@media(prefers-reduced-motion:reduce){html:root body .ml-button.ml-button,html:root body .ml-theme-toggle.ml-theme-toggle,
html:root body .ml-drawer__contact.ml-drawer__contact{transition:none}}

/* The drawer action uses the same single pill as the other calls to action. */
html:root body .ml-drawer__contact .ml-drawer__contact-icon{display:none}

/* Compact floating palette control; the primary action buttons keep their size. */
html:root body .ml-theme-toggle.ml-theme-toggle{min-height:44px;padding:9px 14px;gap:7px;font-size:10px;line-height:1.4;letter-spacing:.04em}
html:root body .ml-theme-toggle svg{width:17px;height:17px}

/* Only pointer presses move; keyboard focus remains visually stable. */
@media(prefers-reduced-motion:no-preference){
 html:root body :is(.ml-button.ml-button,.ml-theme-toggle.ml-theme-toggle,.ml-drawer__contact.ml-drawer__contact):not(:disabled):active:not(:focus-visible){transform:scale(.97)}
}
html:root body :is(button,.ml-button){touch-action:manipulation;-webkit-user-select:none;user-select:none}
